summaryrefslogtreecommitdiff
path: root/xmloff/source/forms/elementimport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/forms/elementimport.cxx')
-rw-r--r--xmloff/source/forms/elementimport.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx
index 1bf17017d9c7..00f4f05b63a0 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -329,12 +329,8 @@ namespace xmloff
{
if ( !xDynamicProperties.is() )
{
- #if OSL_DEBUG_LEVEL > 0
- OString aMessage( "OElementImport::implApplyGenericProperties: encountered an unknown property (" );
- aMessage += OUStringToOString( aPropValues->Name, RTL_TEXTENCODING_ASCII_US );
- aMessage += "), but component is no PropertyBag!";
- OSL_FAIL( aMessage.getStr() );
- #endif
+ SAL_WARN( "xmloff", "OElementImport::implApplyGenericProperties: encountered an unknown property ("
+ << aPropValues->Name << "), but component is no PropertyBag!");
continue;
}