summaryrefslogtreecommitdiff
path: root/unotools/source/config/securityoptions.cxx
diff options
context:
space:
mode:
authorRohan Kumar <rohankanojia420@gmail.com>2016-03-07 19:42:54 +0530
committerBjörn Michaelsen <bjoern.michaelsen@canonical.com>2016-03-08 14:06:04 +0000
commit6326d76101857e94f241dc671c3e3a2a7bf9b031 (patch)
tree176df057e17b065ebee33ddf980fab90c31501f1 /unotools/source/config/securityoptions.cxx
parentea3151acb4915e56c702e4edfa92a9b571c3d104 (diff)
tdf#91794 Remove OSL_DEBUG_LEVEL > 1 conditionals
Updates pointed by Sweet5hark Change-Id: I747e92ca9ee39a027b1e9b27b131f249a33b77db Reviewed-on: https://gerrit.libreoffice.org/22980 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'unotools/source/config/securityoptions.cxx')
-rw-r--r--unotools/source/config/securityoptions.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/config/securityoptions.cxx b/unotools/source/config/securityoptions.cxx
index 5660442b0d0e..59de838a005d 100644
--- a/unotools/source/config/securityoptions.cxx
+++ b/unotools/source/config/securityoptions.cxx
@@ -399,11 +399,11 @@ void SvtSecurityOptions_Impl::SetProperty( sal_Int32 nProperty, const Any& rValu
break;
// xmlsec05 deprecated
- #if OSL_DEBUG_LEVEL > 1
+#if OSL_DEBUG_LEVEL > 0
default:
- DBG_ASSERT( false, "SvtSecurityOptions_Impl::SetProperty()\nUnknown property!\n" );
- #endif
- }
+ assert(false && "SvtSecurityOptions_Impl::SetProperty()\nUnknown property!\n");
+#endif
+ }
}
void SvtSecurityOptions_Impl::LoadAuthors()