diff options
-rw-r--r-- | svtools/source/config/helpopt.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/svtools/source/config/helpopt.cxx b/svtools/source/config/helpopt.cxx index e7b8dce0fde9..6e80db6fcf6c 100644 --- a/svtools/source/config/helpopt.cxx +++ b/svtools/source/config/helpopt.cxx @@ -202,7 +202,9 @@ void SvtHelpOptions_Impl::Load(const uno::Sequence< ::rtl::OUString>& rProperty { for ( int nProp = 0; nProp < rPropertyNames.getLength(); nProp++ ) { - DBG_ASSERT( pValues[nProp].hasValue(), "property value missing" ); +#if OSL_DEBUG_LEVEL > 1 + OSL_ASSERT( pValues[nProp].hasValue(), "property value missing" ); +#endif if ( pValues[nProp].hasValue() ) { sal_Bool bTmp = sal_Bool(); @@ -264,8 +266,8 @@ void SvtHelpOptions_Impl::Load(const uno::Sequence< ::rtl::OUString>& rProperty } else { - DBG_ERRORFILE( "Wrong Type!" ); - } + DBG_ERRORFILE( "Wrong Type!" ); + } } } if ( IsHelpTips() != Help::IsQuickHelpEnabled() ) |