Kaydet (Commit) f85fc1cd authored tarafından Jelle van der Waa's avatar Jelle van der Waa Kaydeden (comit) Fridrich Strba

fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO

Change-Id: I41efcb94121a005d9f44cc17e8ecb5598e8ffba8
Reviewed-on: https://gerrit.libreoffice.org/5057Reviewed-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
Tested-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
üst 20430c74
...@@ -201,6 +201,12 @@ certain functionality. ...@@ -201,6 +201,12 @@ certain functionality.
@li @c sdext.pdfimport.pdfparse @li @c sdext.pdfimport.pdfparse
@li @c sdext.presenter @li @c sdext.presenter
@section sfx2
@li @c sfx2
@li @c sfx2.doc
@li @c sfx2.appl
@section sfx @section sfx
@li @c sfx @li @c sfx
......
...@@ -620,7 +620,6 @@ ...@@ -620,7 +620,6 @@
#include <rsc/rscsfx.hxx> #include <rsc/rscsfx.hxx>
#include <rtl/bootstrap.hxx> #include <rtl/bootstrap.hxx>
#include <rtl/instance.hxx> #include <rtl/instance.hxx>
#include <rtl/logfile.hxx>
#include <rtl/math.hxx> #include <rtl/math.hxx>
#include <rtl/random.h> #include <rtl/random.h>
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
......
...@@ -75,7 +75,6 @@ ...@@ -75,7 +75,6 @@
#include <osl/mutex.hxx> #include <osl/mutex.hxx>
#include <rtl/logfile.hxx>
#include <sfx2/app.hxx> #include <sfx2/app.hxx>
#include <sfx2/bindings.hxx> #include <sfx2/bindings.hxx>
...@@ -1127,7 +1126,7 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq ) ...@@ -1127,7 +1126,7 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
Reference < XDispatchProvider > xProv( xTargetFrame, UNO_QUERY ); Reference < XDispatchProvider > xProv( xTargetFrame, UNO_QUERY );
Reference < XDispatch > xDisp = xProv.is() ? xProv->queryDispatch( aURL, aTarget, FrameSearchFlag::ALL ) : Reference < XDispatch >();; Reference < XDispatch > xDisp = xProv.is() ? xProv->queryDispatch( aURL, aTarget, FrameSearchFlag::ALL ) : Reference < XDispatch >();;
RTL_LOGFILE_PRODUCT_CONTEXT( aLog2, "PERFORMANCE - SfxApplication::OpenDocExec_Impl" ); SAL_INFO( "sfx2.appl", "PERFORMANCE - SfxApplication::OpenDocExec_Impl" );
if ( xDisp.is() ) if ( xDisp.is() )
xDisp->dispatch( aURL, aArgs ); xDisp->dispatch( aURL, aArgs );
} }
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#include <svtools/imagemgr.hxx> #include <svtools/imagemgr.hxx>
#include <comphelper/processfactory.hxx> #include <comphelper/processfactory.hxx>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <rtl/logfile.hxx>
#include "sfx2/imgmgr.hxx" #include "sfx2/imgmgr.hxx"
#include <sfx2/app.hxx> #include <sfx2/app.hxx>
......
...@@ -41,7 +41,6 @@ ...@@ -41,7 +41,6 @@
#include <svtools/sfxecode.hxx> #include <svtools/sfxecode.hxx>
#include <svtools/ehdl.hxx> #include <svtools/ehdl.hxx>
#include <tools/datetime.hxx> #include <tools/datetime.hxx>
#include <rtl/logfile.hxx>
#include <rtl/uri.hxx> #include <rtl/uri.hxx>
#include <math.h> #include <math.h>
...@@ -164,7 +163,7 @@ SfxObjectShell::CreatePreviewMetaFile_Impl( sal_Bool bFullContent ) const ...@@ -164,7 +163,7 @@ SfxObjectShell::CreatePreviewMetaFile_Impl( sal_Bool bFullContent ) const
aDevice.SetDigitLanguage( eLang ); aDevice.SetDigitLanguage( eLang );
{ {
RTL_LOGFILE_PRODUCT_CONTEXT( aLog, "PERFORMANCE SfxObjectShell::CreatePreviewMetaFile_Impl" ); SAL_INFO( "sfx2.doc", "PERFORMANCE SfxObjectShell::CreatePreviewMetaFile_Impl" );
((SfxObjectShell*)this)->DoDraw( &aDevice, Point(0,0), aTmpSize, JobSetup(), nAspect ); ((SfxObjectShell*)this)->DoDraw( &aDevice, Point(0,0), aTmpSize, JobSetup(), nAspect );
} }
pFile->Stop(); pFile->Stop();
......
...@@ -74,7 +74,6 @@ ...@@ -74,7 +74,6 @@
#include <svtools/transfer.hxx> #include <svtools/transfer.hxx>
#include <svtools/ehdl.hxx> #include <svtools/ehdl.hxx>
#include <svtools/sfxecode.hxx> #include <svtools/sfxecode.hxx>
#include <rtl/logfile.hxx>
#include <rtl/strbuf.hxx> #include <rtl/strbuf.hxx>
#include <framework/configimporter.hxx> #include <framework/configimporter.hxx>
#include <framework/interaction.hxx> #include <framework/interaction.hxx>
...@@ -1556,8 +1555,7 @@ void SAL_CALL SfxBaseModel::storeSelf( const Sequence< beans::PropertyValue > ...@@ -1556,8 +1555,7 @@ void SAL_CALL SfxBaseModel::storeSelf( const Sequence< beans::PropertyValue >
io::IOException, io::IOException,
RuntimeException ) RuntimeException )
{ {
RTL_LOGFILE_PRODUCT_CONTEXT( aPerfLog, "PERFORMANCE - SfxBaseModel::storeSelf" ); SAL_INFO( "sfx2.doc", "PERFORMANCE - SfxBaseModel::storeSelf" );
SfxModelGuard aGuard( *this ); SfxModelGuard aGuard( *this );
if ( m_pData->m_pObjectShell.Is() ) if ( m_pData->m_pObjectShell.Is() )
...@@ -1685,8 +1683,7 @@ void SAL_CALL SfxBaseModel::storeAsURL( const OUString& rURL ...@@ -1685,8 +1683,7 @@ void SAL_CALL SfxBaseModel::storeAsURL( const OUString& rURL
const Sequence< beans::PropertyValue >& rArgs ) const Sequence< beans::PropertyValue >& rArgs )
throw (io::IOException, RuntimeException) throw (io::IOException, RuntimeException)
{ {
RTL_LOGFILE_PRODUCT_CONTEXT( aPerfLog, "PERFORMANCE - SfxBaseModel::storeAsURL" ); SAL_INFO( "sfx2.doc", "PERFORMANCE - SfxBaseModel::storeAsURL" );
SfxModelGuard aGuard( *this ); SfxModelGuard aGuard( *this );
if ( m_pData->m_pObjectShell.Is() ) if ( m_pData->m_pObjectShell.Is() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment