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 /svtools | |
parent | 0c00198b97e9dd7ee4aab0cb2f0e0fed681c852c (diff) |
Add some more timelogging, for graphic export here.
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/filter/filter.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/svtools/source/filter/filter.cxx b/svtools/source/filter/filter.cxx index fb86d9bdab32..634802fbe0de 100644 --- a/svtools/source/filter/filter.cxx +++ b/svtools/source/filter/filter.cxx @@ -68,6 +68,7 @@ #include <unotools/localfilehelper.hxx> #include <rtl/bootstrap.hxx> #include <rtl/instance.hxx> +#include <rtl/logfile.hxx> #include <vector> #include "SvFilterOptionsDialog.hxx" @@ -1714,6 +1715,7 @@ sal_uInt16 GraphicFilter::ImportGraphic( Graphic& rGraphic, const String& rPath, sal_uInt16 GraphicFilter::ExportGraphic( const Graphic& rGraphic, const INetURLObject& rPath, sal_uInt16 nFormat, const uno::Sequence< beans::PropertyValue >* pFilterData ) { + RTL_LOGFILE_CONTEXT( aLog, "GraphicFilter::ExportGraphic() (thb)" ); sal_uInt16 nRetValue = GRFILTER_FORMATERROR; DBG_ASSERT( rPath.GetProtocol() != INET_PROT_NOT_VALID, "GraphicFilter::ExportGraphic() : ProtType == INET_PROT_NOT_VALID" ); sal_Bool bAlreadyExists = ImplDirEntryHelper::Exists( rPath ); @@ -1736,6 +1738,7 @@ sal_uInt16 GraphicFilter::ExportGraphic( const Graphic& rGraphic, const INetURLO sal_uInt16 GraphicFilter::ExportGraphic( const Graphic& rGraphic, const String& rPath, SvStream& rOStm, sal_uInt16 nFormat, const uno::Sequence< beans::PropertyValue >* pFilterData ) { + RTL_LOGFILE_CONTEXT( aLog, "GraphicFilter::ExportGraphic() (thb)" ); sal_uInt16 nFormatCount = GetExportFormatCount(); ResetLastError(); |