summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2001-04-19 11:24:50 +0000
committerKai Ahrens <ka@openoffice.org>2001-04-19 11:24:50 +0000
commit97b85cae64ebfa228a9e04222a1c31ee13483908 (patch)
tree5e96127718dcf01f1716cedb29f118f1c99cc96a /svtools
parentd64354ceb3a54fa326cb751ce76e1a34c1912338 (diff)
#86165#: assertions removed
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/config/cacheoptions.cxx61
1 files changed, 31 insertions, 30 deletions
diff --git a/svtools/source/config/cacheoptions.cxx b/svtools/source/config/cacheoptions.cxx
index 9f51f77950d8..602cab7fb517 100644
--- a/svtools/source/config/cacheoptions.cxx
+++ b/svtools/source/config/cacheoptions.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cacheoptions.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: ka $ $Date: 2001-04-19 12:15:57 $
+ * last change: $Author: ka $ $Date: 2001-04-19 12:24:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -190,37 +190,38 @@ SvtCacheOptions_Impl::SvtCacheOptions_Impl() :
for( nProperty=0; nProperty<nPropertyCount; ++nProperty )
{
- DBG_ASSERT( !(seqValues[nProperty].hasValue()==sal_False), "SvtCacheOptions_Impl::SvtCacheOptions_Impl()\nInvalid property value for property detected!\n" );
-
- switch( nProperty )
+ if( seqValues[ nProperty ].hasValue() )
{
- case PROPERTYHANDLE_WRITEROLE:
- {
- if( seqValues[ nProperty ].getValueTypeClass() == TypeClass_LONG )
- seqValues[nProperty] >>= mnWriterOLE;
- }
- break;
-
- case PROPERTYHANDLE_DRAWINGOLE:
+ switch( nProperty )
{
- if( seqValues[ nProperty ].getValueTypeClass() == TypeClass_LONG )
- seqValues[nProperty] >>= mnDrawingOLE;
+ case PROPERTYHANDLE_WRITEROLE:
+ {
+ if( seqValues[ nProperty ].getValueTypeClass() == TypeClass_LONG )
+ seqValues[nProperty] >>= mnWriterOLE;
+ }
+ break;
+
+ case PROPERTYHANDLE_DRAWINGOLE:
+ {
+ if( seqValues[ nProperty ].getValueTypeClass() == TypeClass_LONG )
+ seqValues[nProperty] >>= mnDrawingOLE;
+ }
+ break;
+
+ case PROPERTYHANDLE_GRFMGR_TOTALSIZE:
+ {
+ if( seqValues[ nProperty ].getValueTypeClass() == TypeClass_LONG )
+ seqValues[nProperty] >>= mnGrfMgrTotalSize;
+ }
+ break;
+
+ case PROPERTYHANDLE_GRFMGR_OBJECTSIZE:
+ {
+ if( seqValues[ nProperty ].getValueTypeClass() == TypeClass_LONG )
+ seqValues[nProperty] >>= mnGrfMgrObjectSize;
+ }
+ break;
}
- break;
-
- case PROPERTYHANDLE_GRFMGR_TOTALSIZE:
- {
- if( seqValues[ nProperty ].getValueTypeClass() == TypeClass_LONG )
- seqValues[nProperty] >>= mnGrfMgrTotalSize;
- }
- break;
-
- case PROPERTYHANDLE_GRFMGR_OBJECTSIZE:
- {
- if( seqValues[ nProperty ].getValueTypeClass() == TypeClass_LONG )
- seqValues[nProperty] >>= mnGrfMgrObjectSize;
- }
- break;
}
}
}