summaryrefslogtreecommitdiff
path: root/xmloff/source/forms/propertyimport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/forms/propertyimport.cxx')
-rw-r--r--xmloff/source/forms/propertyimport.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/xmloff/source/forms/propertyimport.cxx b/xmloff/source/forms/propertyimport.cxx
index 30a7e709c35d..ff6f941e9917 100644
--- a/xmloff/source/forms/propertyimport.cxx
+++ b/xmloff/source/forms/propertyimport.cxx
@@ -542,8 +542,7 @@ void OListPropertyContext::StartElement( const Reference< sax::XAttributeList >&
}
else
{
- OSL_ENSURE( false,
- ::rtl::OString( "OListPropertyContext::StartElement: unknown child element (\"")
+ OSL_FAIL( ::rtl::OString( "OListPropertyContext::StartElement: unknown child element (\"")
+= ::rtl::OString( sAttributeName.getStr(), sAttributeName.getLength(), RTL_TEXTENCODING_ASCII_US )
+= ::rtl::OString( "\")!" ) );
}
@@ -628,8 +627,7 @@ void OListValueContext::StartElement( const Reference< sax::XAttributeList >& _r
}
}
- OSL_ENSURE( false,
- ::rtl::OString( "OListValueContext::StartElement: unknown child element (\"")
+ OSL_FAIL( ::rtl::OString( "OListValueContext::StartElement: unknown child element (\"")
+= ::rtl::OString( sAttributeName.getStr(), sAttributeName.getLength(), RTL_TEXTENCODING_ASCII_US )
+= ::rtl::OString( "\")!" ) );
}