diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-06-12 14:42:51 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-12 18:10:44 +0000 |
commit | 272a8afa60fe9a6b497c69a58b0054ad5b880690 (patch) | |
tree | 7ab255dd96cad6ab57b1271559b1d45a1c40baa1 /xmloff/source/text/XMLTextNumRuleInfo.cxx | |
parent | 29eac0e49e372092cb119898e9f1116ab4e00532 (diff) |
convert more DBG_ASSERT(false to SAL_WARN
Change-Id: Ie52f28f28c67a91c4d3d4517d5c6a466890c7a55
Reviewed-on: https://gerrit.libreoffice.org/26195
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff/source/text/XMLTextNumRuleInfo.cxx')
-rw-r--r-- | xmloff/source/text/XMLTextNumRuleInfo.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLTextNumRuleInfo.cxx b/xmloff/source/text/XMLTextNumRuleInfo.cxx index a31f13dc2a8f..1f4e60f0278d 100644 --- a/xmloff/source/text/XMLTextNumRuleInfo.cxx +++ b/xmloff/source/text/XMLTextNumRuleInfo.cxx @@ -94,7 +94,7 @@ void XMLTextNumRuleInfo::Set( // Assertion saving writer document (#i97312#) if ( mxNumRules.is() && mxNumRules->getCount() < 1 ) { - DBG_ASSERT( false, + SAL_WARN("xmloff", "<XMLTextNumRuleInfo::Set(..)> - numbering rules instance does not contain any numbering rule" ); Reset(); return; @@ -102,7 +102,7 @@ void XMLTextNumRuleInfo::Set( if ( mnListLevel < 0 ) { - DBG_ASSERT( false, + SAL_WARN("xmloff", "<XMLTextNumRuleInfo::Set(..)> - unexpected numbering level" ); Reset(); return; |