diff options
author | Thomas Lange <tl@openoffice.org> | 2001-11-08 06:04:30 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2001-11-08 06:04:30 +0000 |
commit | 85074cf44324a3459907e0c70f4ca3e457fa52e0 (patch) | |
tree | c0e9ebf6b2335e7106044cb20b0703352099f38d /linguistic | |
parent | cfa34457abdd112768f7dfd11cf69e98c3c35134 (diff) |
#94445# spellcache fixed
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/iprcache.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linguistic/source/iprcache.cxx b/linguistic/source/iprcache.cxx index b49c2b7e2e27..fc300e86e71f 100644 --- a/linguistic/source/iprcache.cxx +++ b/linguistic/source/iprcache.cxx @@ -2,9 +2,9 @@ * * $RCSfile: iprcache.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: hr $ $Date: 2001-10-11 17:13:17 $ + * last change: $Author: tl $ $Date: 2001-11-08 07:04:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -294,7 +294,7 @@ class IPRCachedWord public: IPRCachedWord( const String& rWord, IPRCachedWord* pFollow, INT16 nLang ) - : aWord( rWord ), pPrev( NULL ), pFollow( pFollow ), + : aWord( rWord ), pNext( 0 ), pPrev( 0 ), pFollow( pFollow ), nLanguage( nLang ), nFound( 0 ) {} ~IPRCachedWord(){} @@ -456,7 +456,7 @@ BOOL IPRSpellCache::CheckWord( const String& rWord, INT16 nLang, BOOL bAllLang ) { IPRCachedWord* pTmp = pRun->GetNext(); while( pTmp && !( bRet = ( rWord == pTmp->GetWord() && - (nLang == pRun->GetLang() || bAllLang) ) ) ) + (nLang == pTmp->GetLang() || bAllLang) ) ) ) { pRun = pTmp; pTmp = pTmp->GetNext(); |