summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/xmlaustp.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/xmloff/source/style/xmlaustp.cxx b/xmloff/source/style/xmlaustp.cxx
index b541766ac6e6..0a8e22e1f2f5 100644
--- a/xmloff/source/style/xmlaustp.cxx
+++ b/xmloff/source/style/xmlaustp.cxx
@@ -44,11 +44,11 @@ namespace
static void lcl_exportDataStyle( SvXMLExport& _rExport, const rtl::Reference< XMLPropertySetMapper >& _rxMapper,
const XMLPropertyState& _rProperty )
{
- DBG_ASSERT( _rxMapper.is(), "xmloff::lcl_exportDataStyle: invalid property mapper!" );
+ assert(_rxMapper.is());
// obtain the data style name
OUString sDataStyleName;
_rProperty.maValue >>= sDataStyleName;
- DBG_ASSERT( !sDataStyleName.isEmpty(), "xmloff::lcl_exportDataStyle: invalid property value for the data style name!" );
+ assert(!sDataStyleName.isEmpty() && "xmloff::lcl_exportDataStyle: invalid property value for the data style name!");
// add the attribute
_rExport.AddAttribute(
@@ -88,7 +88,7 @@ void SvXMLAutoStylePoolP::exportStyleAttributes(
if( (XML_STYLE_FAMILY_SD_GRAPHICS_ID == nFamily) || (XML_STYLE_FAMILY_SD_PRESENTATION_ID == nFamily) )
{ // it's a graphics style
rtl::Reference< XMLPropertySetMapper > aPropertyMapper = rPropExp.getPropertySetMapper();
- DBG_ASSERT(aPropertyMapper.is(), "SvXMLAutoStylePoolP::exportStyleAttributes: invalid property set mapper!");
+ assert(aPropertyMapper.is());
bool bFoundControlShapeDataStyle = false;
bool bFoundNumberingRulesName = false;
@@ -322,8 +322,7 @@ void SvXMLAutoStylePoolP::RegisterNames(
uno::Sequence<sal_Int32>& aFamilies,
uno::Sequence<OUString>& aNames )
{
- DBG_ASSERT( aFamilies.getLength() == aNames.getLength(),
- "aFamilies != aNames" );
+ assert(aFamilies.getLength() == aNames.getLength());
// iterate over sequence(s) and call RegisterName(..) for each pair
const sal_Int32* pFamilies = aFamilies.getConstArray();