summaryrefslogtreecommitdiff
path: root/goodies
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2001-01-30 10:19:54 +0000
committerKai Ahrens <ka@openoffice.org>2001-01-30 10:19:54 +0000
commitb7f63afee858c888c6e169ed9fa825c2b6be5240 (patch)
treee5d2255dc17d01d449a631ca7f04449c71e9ace4 /goodies
parente26efd3b07807c70e37fc98a504fab83ca20b004 (diff)
#83243#: check for pID, too (::AddGraphicObject)
Diffstat (limited to 'goodies')
-rw-r--r--goodies/source/graphic/grfcache.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/goodies/source/graphic/grfcache.cxx b/goodies/source/graphic/grfcache.cxx
index 918369e2b638..bb65664d4e69 100644
--- a/goodies/source/graphic/grfcache.cxx
+++ b/goodies/source/graphic/grfcache.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: grfcache.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: ka $ $Date: 2000-12-21 16:47:15 $
+ * last change: $Author: ka $ $Date: 2001-01-30 11:19:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -607,7 +607,7 @@ void GraphicCache::AddGraphicObject( const GraphicObject& rObj, Graphic& rSubsti
{
BOOL bInserted = FALSE;
- if( !rObj.IsSwappedOut() && ( rObj.GetType() != GRAPHIC_NONE ) )
+ if( !rObj.IsSwappedOut() && ( ( rObj.GetType() != GRAPHIC_NONE ) || pID ) )
{
GraphicCacheEntry* pEntry = (GraphicCacheEntry*) maGraphicCache.First();
const GraphicID aID( rObj );