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>
This commit is contained in:
Jelle van der Waa 2013-07-26 11:51:00 +02:00 committed by Luboš Luňák
parent e42737a213
commit 48c662e1a8
2 changed files with 3 additions and 7 deletions

View File

@ -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: */

View File

@ -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