diff options
author | Rohan Kumar <rohankanojia420@gmail.com> | 2016-03-09 11:32:40 +0530 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-09 07:55:48 +0000 |
commit | 0a8c9fde3ba59a278c9ee4d18f099cfeec71fbef (patch) | |
tree | c3d9dab1dfb62da047bbd0aa910ff6fe474ecf72 /xmlscript/source/xml_helper/xml_impctx.cxx | |
parent | adfa77254927dcb3f2a87eb0d23c71ad7282948b (diff) |
tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals
I removed OSL_DEBUG_LEVEL > 1 conditionals and left SAL_INFO()s
statements alone. I also removed OUStringToOString(..) calls that were
used by SAL_INFO(..)
Change-Id: I01cce00265531d7f0ad0a6f564fef6262d3d1205
Reviewed-on: https://gerrit.libreoffice.org/23036
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
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; } |