diff options
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 ); |
