From e19eb899ce4a69260589286f9aca2725036d7e66 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Fri, 15 Jun 2001 10:04:26 +0000 Subject: #88321# GetExtCache fixed --- linguistic/source/spelldsp.hxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'linguistic') 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; } -- cgit