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>
This commit is contained in:
parent
adfa772549
commit
0a8c9fde3b
@ -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;
|
||||
}
|
||||
|
@ -1702,11 +1702,7 @@ ElementBase::~ElementBase()
|
||||
_pParent->release();
|
||||
}
|
||||
|
||||
#if OSL_DEBUG_LEVEL > 1
|
||||
OString aStr( OUStringToOString(
|
||||
_aLocalName, RTL_TEXTENCODING_ASCII_US ) );
|
||||
SAL_INFO("xmlscript.xmldlg", "ElementBase::~ElementBase(): " << aStr.getStr() );
|
||||
#endif
|
||||
SAL_INFO("xmlscript.xmldlg", "ElementBase::~ElementBase(): " << _aLocalName );
|
||||
}
|
||||
|
||||
// XRoot
|
||||
@ -1761,9 +1757,7 @@ Reference< xml::input::XElement > DialogImport::startRootElement(
|
||||
|
||||
DialogImport::~DialogImport()
|
||||
{
|
||||
#if OSL_DEBUG_LEVEL > 1
|
||||
SAL_INFO("xmlscript.xmldlg", "DialogImport::~DialogImport()." );
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference< util::XNumberFormatsSupplier > const & DialogImport::getNumberFormatsSupplier()
|
||||
|
@ -110,10 +110,7 @@ LibElementBase::~LibElementBase()
|
||||
_pParent->release();
|
||||
}
|
||||
|
||||
#if OSL_DEBUG_LEVEL > 1
|
||||
OString aStr( OUStringToOString( _aLocalName, RTL_TEXTENCODING_ASCII_US ) );
|
||||
SAL_INFO("xmlscript.xmllib", "LibElementBase::~LibElementBase(): " << aStr.getStr() );
|
||||
#endif
|
||||
SAL_INFO("xmlscript.xmllib", "LibElementBase::~LibElementBase(): " << _aLocalName );
|
||||
}
|
||||
|
||||
// XRoot
|
||||
@ -176,9 +173,7 @@ Reference< xml::input::XElement > LibraryImport::startRootElement(
|
||||
|
||||
LibraryImport::~LibraryImport()
|
||||
{
|
||||
#if OSL_DEBUG_LEVEL > 1
|
||||
SAL_INFO("xmlscript.xmllib", "LibraryImport::~LibraryImport()." );
|
||||
#endif
|
||||
}
|
||||
|
||||
// libraries
|
||||
|
@ -110,10 +110,7 @@ ModuleElement::~ModuleElement()
|
||||
_pParent->release();
|
||||
}
|
||||
|
||||
#if OSL_DEBUG_LEVEL > 1
|
||||
OString aStr( OUStringToOString( _aLocalName, RTL_TEXTENCODING_ASCII_US ) );
|
||||
SAL_INFO("xmlscript.xmlmod", "ModuleElement::~ModuleElement(): " << aStr.getStr() );
|
||||
#endif
|
||||
SAL_INFO("xmlscript.xmlmod", "ModuleElement::~ModuleElement(): " << _aLocalName );
|
||||
}
|
||||
|
||||
// XRoot
|
||||
@ -171,9 +168,7 @@ Reference< xml::input::XElement > ModuleImport::startRootElement(
|
||||
|
||||
ModuleImport::~ModuleImport()
|
||||
{
|
||||
#if OSL_DEBUG_LEVEL > 1
|
||||
SAL_INFO("xmlscript.xmlmod", "ModuleImport::~ModuleImport()." );
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference< xml::sax::XDocumentHandler >
|
||||
|
Loading…
x
Reference in New Issue
Block a user