summaryrefslogtreecommitdiff
path: root/linguistic/source/iprcache.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2001-10-11 16:13:17 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2001-10-11 16:13:17 +0000
commit3b764eb1c687479735bb15766e1d869fe949fe27 (patch)
tree87f78025455d41ce7513619f56be38d68e7ae54f /linguistic/source/iprcache.cxx
parenta8583af9184e7c620bfe98d0cb36b4b52761735c (diff)
#92924#: gcc-3.0.1 needs lvalue
Diffstat (limited to 'linguistic/source/iprcache.cxx')
-rw-r--r--linguistic/source/iprcache.cxx16
1 files changed, 10 insertions, 6 deletions
diff --git a/linguistic/source/iprcache.cxx b/linguistic/source/iprcache.cxx
index 4c367dc5941c..b49c2b7e2e27 100644
--- a/linguistic/source/iprcache.cxx
+++ b/linguistic/source/iprcache.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: iprcache.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: tl $ $Date: 2001-02-27 14:26:48 $
+ * last change: $Author: hr $ $Date: 2001-10-11 17:13:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -338,16 +338,20 @@ IPRSpellCache::IPRSpellCache( ULONG nSize ) :
{
pFlushLstnr = new FlushListener( this );
xFlushLstnr = pFlushLstnr;
- pFlushLstnr->SetDicList( GetDictionaryList() ); //! after reference is established
- pFlushLstnr->SetPropSet( GetLinguProperties() ); //! after reference is established
+ Reference<XDictionaryList> aDictionaryList(GetDictionaryList());
+ pFlushLstnr->SetDicList( aDictionaryList ); //! after reference is established
+ Reference<XPropertySet> aPropertySet(GetLinguProperties());
+ pFlushLstnr->SetPropSet( aPropertySet ); //! after reference is established
}
IPRSpellCache::~IPRSpellCache()
{
MutexGuard aGuard( GetLinguMutex() );
- pFlushLstnr->SetDicList( Reference< XDictionaryList >() );
- pFlushLstnr->SetPropSet( Reference< XPropertySet >() );
+ Reference<XDictionaryList> aDictionaryList;
+ pFlushLstnr->SetDicList( aDictionaryList );
+ Reference<XPropertySet> aPropertySet;
+ pFlushLstnr->SetPropSet( aPropertySet );
#ifdef DBG_STATISTIC
// Binary File oeffnen