summaryrefslogtreecommitdiff
path: root/xmloff/source/forms/propertyimport.cxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2010-09-21 17:05:14 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2010-09-21 17:05:14 +0200
commitca9d33a5ba1fcf98990aa61ac3f42287e2d2fec5 (patch)
tree056f5b6293a323bc4d1309d4cd4fbc3c1e59a643 /xmloff/source/forms/propertyimport.cxx
parent7f212d639a4cdec02e6ee6b15b450a7cd82b778a (diff)
dba34a: WaE
Diffstat (limited to 'xmloff/source/forms/propertyimport.cxx')
-rw-r--r--xmloff/source/forms/propertyimport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/forms/propertyimport.cxx b/xmloff/source/forms/propertyimport.cxx
index 9d8e7be994f3..de57eadb69ae 100644
--- a/xmloff/source/forms/propertyimport.cxx
+++ b/xmloff/source/forms/propertyimport.cxx
@@ -363,19 +363,19 @@ bool OPropertyImport::handleAttribute(sal_uInt16 /*_nNamespaceKey*/, const ::rtl
implPushBackPropertyValue( aNewValue );
return true;
}
-#if OSL_DEBUG_LEVEL > 0
if (!token::IsXMLToken(_rLocalName, token::XML_TYPE)) // xlink:type is valid but ignored for <form:form>
{
+#if OSL_DEBUG_LEVEL > 0
::rtl::OString sMessage( "OPropertyImport::handleAttribute: Can't handle the following:\n" );
sMessage += ::rtl::OString( " Attribute name: " );
sMessage += ::rtl::OString( _rLocalName.getStr(), _rLocalName.getLength(), osl_getThreadTextEncoding() );
sMessage += ::rtl::OString( "\n value: " );
sMessage += ::rtl::OString( _rValue.getStr(), _rValue.getLength(), osl_getThreadTextEncoding() );
OSL_ENSURE( sal_False, sMessage.getStr() );
+#endif
return false;
}
return true;
-#endif
}
//=====================================================================