diff options
author | Thomas Lange <tl@openoffice.org> | 2001-06-15 10:04:26 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2001-06-15 10:04:26 +0000 |
commit | e19eb899ce4a69260589286f9aca2725036d7e66 (patch) | |
tree | c26c2b9b0886448b90860bc00b842311ebcb3624 /linguistic | |
parent | 1dc29ab7b55f10cb93a4cd1b948187c28e71d404 (diff) |
#88321# GetExtCache fixed
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/spelldsp.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/linguistic/source/spelldsp.hxx b/linguistic/source/spelldsp.hxx index dcbf41a8bd5b..1a5eaa98a8e2 100644 --- a/linguistic/source/spelldsp.hxx +++ b/linguistic/source/spelldsp.hxx @@ -2,9 +2,9 @@ * * $RCSfile: spelldsp.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: tl $ $Date: 2001-06-05 13:54:51 $ + * last change: $Author: tl $ $Date: 2001-06-15 11:04:26 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -254,7 +254,9 @@ public: inline linguistic::IPRSpellCache & SpellCheckerDispatcher::GetExtCache() const { - return pExtCache ? *pExtCache : * new linguistic::IPRSpellCache( 997 ); + if (!pExtCache) + ((SpellCheckerDispatcher *) this)->pExtCache = new linguistic::IPRSpellCache( 997 ); + return *pExtCache; } |