diff options
-rw-r--r-- | include/sal/log-areas.dox | 6 | ||||
-rw-r--r-- | sfx2/inc/pch/precompiled_sfx.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/appl/appopen.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/appl/imagemgr.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/doc/objcont.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/doc/sfxbasemodel.cxx | 7 |
6 files changed, 10 insertions, 11 deletions
diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox index 6622069cc41e..04b7ad2c0398 100644 --- a/include/sal/log-areas.dox +++ b/include/sal/log-areas.dox @@ -201,6 +201,12 @@ certain functionality. @li @c sdext.pdfimport.pdfparse @li @c sdext.presenter +@section sfx2 + +@li @c sfx2 +@li @c sfx2.doc +@li @c sfx2.appl + @section sfx @li @c sfx diff --git a/sfx2/inc/pch/precompiled_sfx.hxx b/sfx2/inc/pch/precompiled_sfx.hxx index 53a4811e796b..652bb1359cfe 100644 --- a/sfx2/inc/pch/precompiled_sfx.hxx +++ b/sfx2/inc/pch/precompiled_sfx.hxx @@ -620,7 +620,6 @@ #include <rsc/rscsfx.hxx> #include <rtl/bootstrap.hxx> #include <rtl/instance.hxx> -#include <rtl/logfile.hxx> #include <rtl/math.hxx> #include <rtl/random.h> #include <rtl/ref.hxx> diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx index 3c128351423c..b05b71469eda 100644 --- a/sfx2/source/appl/appopen.cxx +++ b/sfx2/source/appl/appopen.cxx @@ -75,7 +75,6 @@ #include <osl/mutex.hxx> -#include <rtl/logfile.hxx> #include <sfx2/app.hxx> #include <sfx2/bindings.hxx> @@ -1127,7 +1126,7 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq ) Reference < XDispatchProvider > xProv( xTargetFrame, UNO_QUERY ); 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() ) xDisp->dispatch( aURL, aArgs ); } diff --git a/sfx2/source/appl/imagemgr.cxx b/sfx2/source/appl/imagemgr.cxx index 67e440650f31..a19e7bc34828 100644 --- a/sfx2/source/appl/imagemgr.cxx +++ b/sfx2/source/appl/imagemgr.cxx @@ -29,7 +29,6 @@ #include <svtools/imagemgr.hxx> #include <comphelper/processfactory.hxx> #include <rtl/ustring.hxx> -#include <rtl/logfile.hxx> #include "sfx2/imgmgr.hxx" #include <sfx2/app.hxx> diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx index 811836910891..15c98d9f0fb8 100644 --- a/sfx2/source/doc/objcont.cxx +++ b/sfx2/source/doc/objcont.cxx @@ -41,7 +41,6 @@ #include <svtools/sfxecode.hxx> #include <svtools/ehdl.hxx> #include <tools/datetime.hxx> -#include <rtl/logfile.hxx> #include <rtl/uri.hxx> #include <math.h> @@ -164,7 +163,7 @@ SfxObjectShell::CreatePreviewMetaFile_Impl( sal_Bool bFullContent ) const 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 ); } pFile->Stop(); diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 634b4c4ca108..5efb2b44f95d 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -74,7 +74,6 @@ #include <svtools/transfer.hxx> #include <svtools/ehdl.hxx> #include <svtools/sfxecode.hxx> -#include <rtl/logfile.hxx> #include <rtl/strbuf.hxx> #include <framework/configimporter.hxx> #include <framework/interaction.hxx> @@ -1556,8 +1555,7 @@ void SAL_CALL SfxBaseModel::storeSelf( const Sequence< beans::PropertyValue > io::IOException, RuntimeException ) { - RTL_LOGFILE_PRODUCT_CONTEXT( aPerfLog, "PERFORMANCE - SfxBaseModel::storeSelf" ); - + SAL_INFO( "sfx2.doc", "PERFORMANCE - SfxBaseModel::storeSelf" ); SfxModelGuard aGuard( *this ); if ( m_pData->m_pObjectShell.Is() ) @@ -1685,8 +1683,7 @@ void SAL_CALL SfxBaseModel::storeAsURL( const OUString& rURL const Sequence< beans::PropertyValue >& rArgs ) throw (io::IOException, RuntimeException) { - RTL_LOGFILE_PRODUCT_CONTEXT( aPerfLog, "PERFORMANCE - SfxBaseModel::storeAsURL" ); - + SAL_INFO( "sfx2.doc", "PERFORMANCE - SfxBaseModel::storeAsURL" ); SfxModelGuard aGuard( *this ); if ( m_pData->m_pObjectShell.Is() ) |