diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2012-04-23 23:03:29 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-04-23 23:07:17 +0200 |
commit | bf286107121648bb90c582ac2d56001161915ce4 (patch) | |
tree | 692e3b0f21fcda528d1ad2a649e5c0322fcf760a /sfx2 | |
parent | 0c00198b97e9dd7ee4aab0cb2f0e0fed681c852c (diff) |
Add some more timelogging, for graphic export here.
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/objcont.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
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 <svtools/sfxecode.hxx> #include <svtools/ehdl.hxx> #include <tools/datetime.hxx> +#include <rtl/logfile.hxx> #include <math.h> #include <unotools/saveopt.hxx> @@ -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; |