Summary: | kword crashes after switching on spellcheck on a imported document | ||
---|---|---|---|
Product: | kword | Reporter: | Frank Pieczynski <pieczy> |
Component: | general | Assignee: | Thomas Zander <zander> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | short document for reproduce the crash |
Description
Frank Pieczynski
2002-09-21 14:26:31 UTC
Created attachment 50 [details]
short document for reproduce the crash
created by import from rtf, this may be explains the formatting
Subject: koffice/lib/kotext CVS commit by faure: More timer safety during background-spellchecking. Together with the last commit, this fixes the crash on #48114. CCMAIL: 48114-done@bugs.kde.org M +7 -1 koBgSpellCheck.cc 1.34 --- koffice/lib/kotext/koBgSpellCheck.cc #1.33:1.34 @@ -41,5 +41,7 @@ public: KoBgSpellCheck::KoBgSpellCheck() { - //kdDebug(32500) << "KoBgSpellCheck::KoBgSpellCheck " << this << endl; +#ifdef DEBUG_BGSPELLCHECKING + kdDebug(32500) << "KoBgSpellCheck::KoBgSpellCheck " << this << endl; +#endif d = new KoBgSpellCheck::KoBgSpellCheckPrivate; d->m_pKSpellConfig=0L; @@ -132,4 +134,5 @@ void KoBgSpellCheck::clearIgnoreWordAll( void KoBgSpellCheck::startBackgroundSpellCheck() { + d->startTimer->stop(); // In case we were called directly, while the timer was running. if ( !m_bSpellCheckEnabled ) return; @@ -141,4 +144,7 @@ void KoBgSpellCheck::startBackgroundSpel if ( !m_bgSpell.currentTextObj ) { +#ifdef DEBUG_BGSPELLCHECKING + //kdDebug(32500) << "KoBgSpellCheck::startBackgroundSpellCheck no currentTextObj to check this time." << endl; +#endif d->startTimer->start( 1000, true ); return; |