From 7fe192da23f4fac73b6ef7393bd8499a373170f3 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 28 Mar 2015 15:50:41 +0200 Subject: Bin a few SAL_INFOs that basically just say "we are here" Such are fairly pointless to keep permanently in the code. Use a temporary SAL_DEBUG if you need tracing output when you reach a certain lines while hacking. Change-Id: I13a898486731c6d2995e92e2c5dcd0d1429e47cc --- sfx2/source/appl/appopen.cxx | 1 - sfx2/source/doc/objcont.cxx | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx index 92d7c3231fc4..f17495a6c65d 100644 --- a/sfx2/source/appl/appopen.cxx +++ b/sfx2/source/appl/appopen.cxx @@ -1083,7 +1083,6 @@ 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 >();; - SAL_INFO( "sfx.appl", "PERFORMANCE - SfxApplication::OpenDocExec_Impl" ); if ( xDisp.is() ) xDisp->dispatch( aURL, aArgs ); } diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx index 2bd83c3e93f4..3f54b39f640f 100644 --- a/sfx2/source/doc/objcont.cxx +++ b/sfx2/source/doc/objcont.cxx @@ -164,10 +164,8 @@ SfxObjectShell::CreatePreviewMetaFile_Impl( bool bFullContent ) const aDevice.SetDigitLanguage( eLang ); - { - SAL_INFO( "sfx.doc", "PERFORMANCE SfxObjectShell::CreatePreviewMetaFile_Impl" ); - const_cast(this)->DoDraw( &aDevice, Point(0,0), aTmpSize, JobSetup(), nAspect ); - } + const_cast(this)->DoDraw( &aDevice, Point(0,0), aTmpSize, JobSetup(), nAspect ); + xFile->Stop(); return xFile; -- cgit