summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-06-12 11:39:15 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-17 06:39:30 +0000
commite6c004dd9f24c32f5e7468182a5e8d42293ec7b6 (patch)
tree7128862b7cfe1770d07ef2b3613a52ea26b410c6 /xmloff/source/text/XMLSectionFootnoteConfigExport.cxx
parent9c79945ca62b18213728cdd23d9f390304aee1de (diff)
convert DBG_ASSERT in xmloff
Change-Id: I2f4bbbef451026fc34638e17fa29b6db2c14d850 Reviewed-on: https://gerrit.libreoffice.org/26191 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff/source/text/XMLSectionFootnoteConfigExport.cxx')
-rw-r--r--xmloff/source/text/XMLSectionFootnoteConfigExport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx b/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx
index 2248f612ae82..4d2e3b21b866 100644
--- a/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx
+++ b/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx
@@ -89,7 +89,7 @@ void XMLSectionFootnoteConfigExport::exportXML(
rState.maValue >>= sNumSuffix;
break;
case CTF_SECTION_FOOTNOTE_END:
- DBG_ASSERT( i == nIdx,
+ SAL_WARN_IF( i != nIdx, "xmloff",
"received wrong property state index" );
rState.maValue >>= bEnd;
break;
@@ -118,7 +118,7 @@ void XMLSectionFootnoteConfigExport::exportXML(
rState.maValue >>= sNumSuffix;
break;
case CTF_SECTION_ENDNOTE_END:
- DBG_ASSERT( i == nIdx,
+ SAL_WARN_IF( i != nIdx, "xmloff",
"received wrong property state index" );
rState.maValue >>= bEnd;
break;