summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2001-11-05 12:57:35 +0000
committerChristian Lippka <cl@openoffice.org>2001-11-05 12:57:35 +0000
commit7c0468c6935608965543aba488d2dadeaa6c7b36 (patch)
treef8654b9f92071420919ca77aaf211c0182e32f1c
parentcf83a306d24cfadefaec7fc923a2e91fa7438892 (diff)
#90330# corrected cache assertion
-rw-r--r--svx/source/unodraw/unoipset.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/unodraw/unoipset.cxx b/svx/source/unodraw/unoipset.cxx
index f357f971b49a..fb2afb8e1555 100644
--- a/svx/source/unodraw/unoipset.cxx
+++ b/svx/source/unodraw/unoipset.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoipset.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: hr $ $Date: 2001-10-31 15:38:48 $
+ * last change: $Author: cl $ $Date: 2001-11-05 13:57:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -149,7 +149,7 @@ uno::Reference< beans::XPropertySetInfo > SvxInfoSetCache::getCachedPropertySetI
SfxItemPropertyMap pointers. This will cause a cache overflow as the current
implementation is designed for a limited number of different SfxItemPropertyMap
pointers */
- DBG_ASSERT( mpGlobalCache->maInfoMap.size(), "WARNING: SvxInfoSetCache::get(), possible cache overflow!" );
+ DBG_ASSERT( mpGlobalCache->maInfoMap.size() < 200, "WARNING: SvxInfoSetCache::get(), possible cache overflow!" );
}
}
@@ -217,7 +217,7 @@ const SfxItemPropertyMap* SvxInfoSetCache::getSortedPropertyMap( const SfxItemPr
SfxItemPropertyMap pointers. This will cause a cache overflow as the current
implementation is designed for a limited number of different SfxItemPropertyMap
pointers */
- DBG_ASSERT( mpGlobalCache->maPropertyMap.size(), "WARNING: SvxInfoSetCache::get(), possible cache overflow!" );
+ DBG_ASSERT( mpGlobalCache->maPropertyMap.size() < 200, "WARNING: SvxInfoSetCache::get(), possible cache overflow!" );
}
return pSortedMap;