diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-09-14 13:52:46 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-09-14 15:04:16 +0200 |
commit | 9316effe51ca53cf16cf21e5a2d266349916edd1 (patch) | |
tree | b42ea114725e5e170c126099a6ae78dc33c14cd8 /xmloff | |
parent | fdo#49571: ODF import: ignore "text:enable-numbering" attribute (diff) | |
download | core-9316effe51ca53cf16cf21e5a2d266349916edd1.tar.gz core-9316effe51ca53cf16cf21e5a2d266349916edd1.zip |
SvXMLImportPropertyMapper::importXML: fix assertion to be less silly
Change-Id: I009f0519e34900a1b1447de02d99f32dd0e07410
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/xmlimppr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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 |