From bf286107121648bb90c582ac2d56001161915ce4 Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Mon, 23 Apr 2012 23:03:29 +0200 Subject: Add some more timelogging, for graphic export here. --- sfx2/source/doc/objcont.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sfx2') diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx index 10347382802c..398cf85808f3 100644 --- a/sfx2/source/doc/objcont.cxx +++ b/sfx2/source/doc/objcont.cxx @@ -51,6 +51,7 @@ #include #include #include +#include #include #include @@ -170,7 +171,10 @@ SfxObjectShell::CreatePreviewMetaFile_Impl( sal_Bool bFullContent ) const aDevice.SetDigitLanguage( eLang ); - ((SfxObjectShell*)this)->DoDraw( &aDevice, Point(0,0), aTmpSize, JobSetup(), nAspect ); + { + RTL_LOGFILE_PRODUCT_CONTEXT( aLog, "PERFORMANCE SfxObjectShell::CreatePreviewMetaFile_Impl" ); + ((SfxObjectShell*)this)->DoDraw( &aDevice, Point(0,0), aTmpSize, JobSetup(), nAspect ); + } pFile->Stop(); return pFile; -- cgit