summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoBgSpellCheck.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-12 15:05:16 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-12 15:05:16 +0900
commit7723e709cedf05437e464158ce3f6f4b6806effe (patch)
treeee35b3379174400d351783fc7bd458f26bfd3d65 /lib/kotext/KoBgSpellCheck.cpp
parentee1d68b71d187a56488c844007c6803ec32d010f (diff)
downloadkoffice-remove/tde-version.tar.gz
koffice-remove/tde-version.zip
Remove use of TDE_VERSIONremove/tde-version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kotext/KoBgSpellCheck.cpp')
-rw-r--r--lib/kotext/KoBgSpellCheck.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/kotext/KoBgSpellCheck.cpp b/lib/kotext/KoBgSpellCheck.cpp
index 1be095954..0a860bdf0 100644
--- a/lib/kotext/KoBgSpellCheck.cpp
+++ b/lib/kotext/KoBgSpellCheck.cpp
@@ -40,7 +40,6 @@ using namespace KSpell2;
#include <tdelocale.h>
#include <kdebug.h>
-#include <tdeversion.h>
#include <tqtimer.h>
#include <tqptrdict.h>
@@ -228,7 +227,6 @@ void KoBgSpellCheck::slotParagraphModified( KoTextParag* parag, int /*ParagModif
kdDebug(32500) << "Para modified " << parag << " pos = "<<pos<<", length = "<< length <<endl;
#endif
-#if TDE_VERSION > TDE_MAKE_VERSION(3,3,0)
if ( length < 10 ) {
TQString str = parag->string()->stringToSpellCheck();
/// ##### do we really need to create a Filter every time?
@@ -252,15 +250,6 @@ void KoBgSpellCheck::slotParagraphModified( KoTextParag* parag, int /*ParagModif
}
if ( parag->hasChanged() ) // always true currently
parag->document()->emitRepaintChanged();
-#else
- if ( length < 3 ) {
- TQString word;
- int start;
- bool misspelled = !d->backSpeller->checkWordInParagraph( parag, pos,
- word, start );
- markWord( parag, start, word.length(), misspelled );
- parag->document()->emitRepaintChanged();
-#endif
} else
{
d->backSpeller->check( parag );