summaryrefslogtreecommitdiff
path: root/svtools/source/config
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-13 14:09:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-13 14:09:27 +0100
commit31558d6086ef22330811827cb6ca43511f83b099 (patch)
treee1e3aa077d7ff4b89d6f4e8404ef8ebc84625f64 /svtools/source/config
parentd061b4ac1a234818df1151fc0c9a4a424358b188 (diff)
quieten this down a bit
Diffstat (limited to 'svtools/source/config')
-rw-r--r--svtools/source/config/miscopt.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx
index 1b97d1e2b1ca..6d10da9cff19 100644
--- a/svtools/source/config/miscopt.cxx
+++ b/svtools/source/config/miscopt.cxx
@@ -345,9 +345,8 @@ SvtMiscOptions_Impl::SvtMiscOptions_Impl()
sal_Int32 nPropertyCount = seqValues.getLength();
for( sal_Int32 nProperty=0; nProperty<nPropertyCount; ++nProperty )
{
- // Safe impossible cases.
- // Check any for valid value.
- DBG_ASSERT( !(seqValues[nProperty].hasValue()==sal_False), "SvtSecurityOptions_Impl::SvtSecurityOptions_Impl()\nInvalid property value detected!\n" );
+ if (seqValues[nProperty].hasValue()==sal_False)
+ continue;
switch( nProperty )
{
case PROPERTYHANDLE_PLUGINSENABLED :
@@ -496,9 +495,8 @@ void SvtMiscOptions_Impl::Load( const Sequence< OUString >& rPropertyNames )
sal_Int32 nPropertyCount = seqValues.getLength();
for( sal_Int32 nProperty=0; nProperty<nPropertyCount; ++nProperty )
{
- // Safe impossible cases.
- // Check any for valid value.
- DBG_ASSERT( !(seqValues[nProperty].hasValue()==sal_False), "SvtSecurityOptions_Impl::SvtSecurityOptions_Impl()\nInvalid property value detected!\n" );
+ if (seqValues[nProperty].hasValue()==sal_False)
+ continue;
switch( lcl_MapPropertyName(rPropertyNames[nProperty], aInternalPropertyNames) )
{
case PROPERTYHANDLE_PLUGINSENABLED : {