From 9316effe51ca53cf16cf21e5a2d266349916edd1 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 14 Sep 2012 13:52:46 +0200 Subject: SvXMLImportPropertyMapper::importXML: fix assertion to be less silly Change-Id: I009f0519e34900a1b1447de02d99f32dd0e07410 --- xmloff/source/style/xmlimppr.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/style/xmlimppr.cxx b/xmloff/source/style/xmlimppr.cxx index 624b46d4928a..16c564713356 100644 --- a/xmloff/source/style/xmlimppr.cxx +++ b/xmloff/source/style/xmlimppr.cxx @@ -256,12 +256,12 @@ void SvXMLImportPropertyMapper::importXML( if( !bFound ) { + SAL_INFO_IF((XML_NAMESPACE_NONE != nPrefix) && + !(XML_NAMESPACE_UNKNOWN_FLAG & nPrefix) && + !bAlienImport, "xmloff.style", + "unknown attribute: \"" << rAttrName << "\""); if( (XML_NAMESPACE_UNKNOWN_FLAG & nPrefix) || (XML_NAMESPACE_NONE == nPrefix) || bAlienImport ) { - OSL_ENSURE( XML_NAMESPACE_NONE == nPrefix || - (XML_NAMESPACE_UNKNOWN_FLAG & nPrefix) || - bAlienImport, - "unknown attribute - might be a new feature?" ); if( !xAttrContainer.is() ) { // add an unknown attribute container to the properties -- cgit