summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-04-23 23:03:29 +0200
committerThorsten Behrens <tbehrens@suse.com>2012-04-23 23:07:17 +0200
commitbf286107121648bb90c582ac2d56001161915ce4 (patch)
tree692e3b0f21fcda528d1ad2a649e5c0322fcf760a /svx
parent0c00198b97e9dd7ee4aab0cb2f0e0fed681c852c (diff)
Add some more timelogging, for graphic export here.
Diffstat (limited to 'svx')
-rw-r--r--svx/source/unodraw/UnoGraphicExporter.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx
index 6ee3ed08d1f0..46220ea115fc 100644
--- a/svx/source/unodraw/UnoGraphicExporter.cxx
+++ b/svx/source/unodraw/UnoGraphicExporter.cxx
@@ -45,6 +45,7 @@
#include <com/sun/star/task/XInteractionHandler.hpp>
#include <com/sun/star/task/XInteractionContinuation.hpp>
+#include <rtl/logfile.hxx>
#include <comphelper/interaction.hxx>
#include <framework/interaction.hxx>
#include <com/sun/star/drawing/GraphicFilterRequest.hpp>
@@ -594,6 +595,8 @@ void GraphicExporter::ParseSettings( const Sequence< PropertyValue >& aDescripto
bool GraphicExporter::GetGraphic( ExportSettings& rSettings, Graphic& aGraphic, sal_Bool bVectorType )
{
+ RTL_LOGFILE_CONTEXT( aLog, "UnoGraphicExporter::GetGraphic (thb)" );
+
if( !mpDoc || !mpUnoPage )
return false;
@@ -976,6 +979,8 @@ bool GraphicExporter::GetGraphic( ExportSettings& rSettings, Graphic& aGraphic,
sal_Bool SAL_CALL GraphicExporter::filter( const Sequence< PropertyValue >& aDescriptor )
throw(RuntimeException)
{
+ RTL_LOGFILE_CONTEXT( aLog, "UnoGraphicExporter::export (thb)" );
+
::SolarMutexGuard aGuard;
if( NULL == mpUnoPage )