summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-05-22 21:57:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-05-23 08:55:22 +0100
commitba04800b57e0318739cdcb379bbcc9a65aa2e344 (patch)
tree48247ef54166b4c07205f7ae1fdd0e3aaa995a49 /svtools
parent7ff13f7afbe24a315d46409e2a1923fa83644b62 (diff)
fix indent and reduce spew
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/config/helpopt.cxx8
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() )