[Libreoffice-commits] core.git: include/sal reportdesign/source

Jelle van der Waa jelle at vdwaa.nl
Fri Jul 26 09:28:32 PDT 2013


 include/sal/log-areas.dox                    |    1 +
 reportdesign/source/filter/xml/xmlfilter.cxx |    9 ++-------
 2 files changed, 3 insertions(+), 7 deletions(-)

New commits:
commit 48c662e1a8ac6da61b6b586d268db5bb4f1e3669
Author: Jelle van der Waa <jelle at vdwaa.nl>
Date:   Fri Jul 26 11:51:00 2013 +0200

    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 at suse.cz>
    Tested-by: Luboš Luňák <l.lunak at suse.cz>

diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox
index 6471349..4ae7105 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
+ at 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 1a1e17d..fd9723d 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


More information about the Libreoffice-commits mailing list