summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlprmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/xmlprmap.cxx')
-rw-r--r--xmloff/source/style/xmlprmap.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlprmap.cxx b/xmloff/source/style/xmlprmap.cxx
index dcc9c28e4be1..c1302b46a264 100644
--- a/xmloff/source/style/xmlprmap.cxx
+++ b/xmloff/source/style/xmlprmap.cxx
@@ -86,6 +86,7 @@ XMLPropertySetMapperEntry_Impl::XMLPropertySetMapperEntry_Impl(
bImportOnly( rMapEntry.mbImportOnly),
pHdl( rFactory->GetPropertyHandler( rMapEntry.mnType & MID_FLAG_MASK ) )
{
+ assert(pHdl);
}
XMLPropertySetMapperEntry_Impl::XMLPropertySetMapperEntry_Impl(
@@ -99,7 +100,7 @@ XMLPropertySetMapperEntry_Impl::XMLPropertySetMapperEntry_Impl(
bImportOnly( rEntry.bImportOnly),
pHdl( rEntry.pHdl)
{
- DBG_ASSERT( pHdl, "Unknown XML property type handler!" );
+ assert(pHdl);
}
struct XMLPropertySetMapper::Impl
@@ -239,7 +240,7 @@ bool XMLPropertySetMapper::exportXML(
const XMLPropertyHandler* pHdl = GetPropertyHandler( rProperty.mnIndex );
- DBG_ASSERT( pHdl, "Unknown XML Type!" );
+ assert(pHdl);
if( pHdl )
bRet = pHdl->exportXML( rStrExpValue, rProperty.maValue,
rUnitConverter );