summaryrefslogtreecommitdiff
path: root/linguistic/source/iprcache.cxx
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2001-11-08 06:04:30 +0000
committerThomas Lange <tl@openoffice.org>2001-11-08 06:04:30 +0000
commitb5c2dd9abd77232051751c583a88046bb6ef109c (patch)
treef8f3bcace716d3edf759f955e40b440370ee9b2e /linguistic/source/iprcache.cxx
parent70ad201fd174ea336b61fae4b8bab8ba23afba22 (diff)
#94445# spellcache fixed
Diffstat (limited to 'linguistic/source/iprcache.cxx')
-rw-r--r--linguistic/source/iprcache.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/linguistic/source/iprcache.cxx b/linguistic/source/iprcache.cxx
index da50f1502c..2c524fa1d1 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();