From 48c662e1a8ac6da61b6b586d268db5bb4f1e3669 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Fri, 26 Jul 2013 11:51:00 +0200 Subject: fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I00cfd958c2e7d430d9bcb03a609bbead812de3f3 Reviewed-on: https://gerrit.libreoffice.org/5122 Reviewed-by: Luboš Luňák Tested-by: Luboš Luňák --- include/sal/log-areas.dox | 1 + reportdesign/source/filter/xml/xmlfilter.cxx | 9 ++------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox index 6471349ac397..4ae710543f7b 100644 --- a/include/sal/log-areas.dox +++ b/include/sal/log-areas.dox @@ -414,6 +414,7 @@ certain functionality. @li @c vbahelper @li @c xmlhelp @li @c xmlreader +@li @c reportdesign */ /* vim:set ft=cpp shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/reportdesign/source/filter/xml/xmlfilter.cxx b/reportdesign/source/filter/xml/xmlfilter.cxx index 1a1e17df65f6..fd9723d59423 100644 --- a/reportdesign/source/filter/xml/xmlfilter.cxx +++ b/reportdesign/source/filter/xml/xmlfilter.cxx @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include @@ -133,16 +132,13 @@ sal_Int32 ReadThroughComponent( OSL_ENSURE(xModelComponent.is(), "document missing"); OSL_ENSURE(rContext.is(), "factory missing"); - RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "rptxml", "oj", "ReadThroughComponent" ); - // prepare ParserInputSrouce InputSource aParserInput; aParserInput.aInputStream = xInputStream; // get parser uno::Reference< XParser > xParser = xml::sax::Parser::create(rContext); - RTL_LOGFILE_CONTEXT_TRACE( aLog, "parser created" ); - + SAL_INFO( "reportdesign", "parser created" ); // get filter OSL_ENSURE( _xFilter.is(), "Can't instantiate filter component." ); if( !_xFilter.is() ) @@ -158,8 +154,7 @@ sal_Int32 ReadThroughComponent( #ifdef TIMELOG // if we do profiling, we want to know the stream - RTL_LOGFILE_TRACE_AUTHOR1( "rptxml", "oj", - "ReadThroughComponent : parsing \"%s\"", pStreamName ); + SAL_INFO( "reportdesign", "rptxml ReadThroughComponent : parsing \"" << pStreamName << "\"" ); #endif // finally, parser the stream -- cgit v1.2.3