summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2013-07-26 11:51:00 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-07-26 16:28:12 +0000
commit48c662e1a8ac6da61b6b586d268db5bb4f1e3669 (patch)
tree0177ea577bbc3042b322528e4790bddebc41743f
parente42737a213373af18d1e68cea7b16b1679b4c3fe (diff)
fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO
Change-Id: I00cfd958c2e7d430d9bcb03a609bbead812de3f3 Reviewed-on: https://gerrit.libreoffice.org/5122 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
-rw-r--r--include/sal/log-areas.dox1
-rw-r--r--reportdesign/source/filter/xml/xmlfilter.cxx9
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 <xmloff/txtimp.hxx>
#include <xmloff/nmspmap.hxx>
#include <xmloff/XMLFontStylesContext.hxx>
-#include <rtl/logfile.hxx>
#include <com/sun/star/xml/sax/InputSource.hpp>
#include <com/sun/star/xml/sax/XParser.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
@@ -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