diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-12 15:05:16 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-16 12:08:55 +0900 |
| commit | a58aa6da48b9a653e937e74468431410a8b6da0d (patch) | |
| tree | b84d2f962580991327405060857e705c75aeeabe /lib/kotext/KoBgSpellCheck.cpp | |
| parent | 9bbce30f995d31d51c77c5aa7079b2cb58206395 (diff) | |
| download | koffice-r14.1.x.tar.gz koffice-r14.1.x.zip | |
Remove use of TDE_VERSIONr14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 5b692ca361fdf03ceda3163c71fa67b63cf31bb2)
Diffstat (limited to 'lib/kotext/KoBgSpellCheck.cpp')
| -rw-r--r-- | lib/kotext/KoBgSpellCheck.cpp | 11 |
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 ); |
