summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLIndexTemplateContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/XMLIndexTemplateContext.cxx')
-rw-r--r--xmloff/source/text/XMLIndexTemplateContext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLIndexTemplateContext.cxx b/xmloff/source/text/XMLIndexTemplateContext.cxx
index a60109e6bba4..669d5be79188 100644
--- a/xmloff/source/text/XMLIndexTemplateContext.cxx
+++ b/xmloff/source/text/XMLIndexTemplateContext.cxx
@@ -104,8 +104,8 @@ XMLIndexTemplateContext::XMLIndexTemplateContext(
DBG_ASSERT( ((XML_TOKEN_INVALID != eLevelAttrName) && (nullptr != pLevelNameMap))
|| ((XML_TOKEN_INVALID == eLevelAttrName) && (nullptr == pLevelNameMap)),
"need both, attribute name and value map, or neither" );
- DBG_ASSERT( nullptr != pOutlineLevelStylePropMap, "need property name map" );
- DBG_ASSERT( nullptr != pAllowedTokenTypes, "need allowed tokens map" );
+ SAL_WARN_IF( nullptr == pOutlineLevelStylePropMap, "xmloff", "need property name map" );
+ SAL_WARN_IF( nullptr == pAllowedTokenTypes, "xmloff", "need allowed tokens map" );
// no map for outline-level? then use 1
if (nullptr == pLevelNameMap)