diff options
Diffstat (limited to 'xmlscript/source/xml_helper/xml_impctx.cxx')
-rw-r--r-- | xmlscript/source/xml_helper/xml_impctx.cxx | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/xmlscript/source/xml_helper/xml_impctx.cxx b/xmlscript/source/xml_helper/xml_impctx.cxx index 02ae45c29692..493c333d279a 100644 --- a/xmlscript/source/xml_helper/xml_impctx.cxx +++ b/xmlscript/source/xml_helper/xml_impctx.cxx @@ -497,11 +497,7 @@ void DocumentHandlerImpl::startElement( if (m_nSkipElements > 0) { ++m_nSkipElements; // wait for another end tag -#if OSL_DEBUG_LEVEL > 1 - OString aQName( - OUStringToOString( rQElementName, RTL_TEXTENCODING_ASCII_US ) ); - SAL_INFO("xmlscript.xmlhelper", "### no context given on createChildElement() => ignoring element \"" << aQName.getStr() << "\" ..."); -#endif + SAL_INFO("xmlscript.xmlhelper", " no context given on createChildElement() => ignoring element \"" << rQElementName << "\" ..."); return; } @@ -608,11 +604,7 @@ void DocumentHandlerImpl::startElement( else { ++m_nSkipElements; -#if OSL_DEBUG_LEVEL > 1 - OString aQName( - OUStringToOString( rQElementName, RTL_TEXTENCODING_ASCII_US ) ); - SAL_INFO("xmlscript.xmlhelper", "### no context given on createChildElement() => ignoring element \"" << aQName.getStr() << "\" ..."); -#endif + SAL_INFO("xmlscript.xmlhelper", " no context given on createChildElement() => ignoring element \"" << rQElementName << "\" ..."); } } } @@ -627,11 +619,7 @@ void DocumentHandlerImpl::endElement( if (m_nSkipElements) { --m_nSkipElements; -#if OSL_DEBUG_LEVEL > 1 - OString aQName( - OUStringToOString( rQElementName, RTL_TEXTENCODING_ASCII_US ) ); - SAL_INFO("xmlscript.xmlhelper", "### received endElement() for \"" << aQName.getStr() << "\"."); -#endif + SAL_INFO("xmlscript.xmlhelper", "### received endElement() for \"" << rQElementName << "\"."); static_cast<void>(rQElementName); return; } |