From 4f64ac19904ff0867e2e22c6c54b44ec2e351a97 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Tue, 9 Dec 2014 22:12:03 +0100
Subject: [PATCH] fdo#37682 paint the right area
Change-Id: Ic3d1f6e47bf068e60dca711c97e3f6b194d14049
---
svx/source/unodraw/UnoGraphicExporter.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx
index eeb664f..eb1523b 100644
--- a/svx/source/unodraw/UnoGraphicExporter.cxx
+++ b/svx/source/unodraw/UnoGraphicExporter.cxx
@@ -764,7 +764,7 @@ bool GraphicExporter::GetGraphic( ExportSettings& rSettings, Graphic& aGraphic,
// Use new StandardCheckVisisbilityRedirector
ImplExportCheckVisisbilityRedirector aRedirector( mpCurrentPage );
- pView->CompleteRedraw(&aVDev, Region(Rectangle(Point(), aNewSize)), &aRedirector);
+ pView->CompleteRedraw(&aVDev, Region(Rectangle(aNewOrg, aNewSize)), &aRedirector);
aVDev.Pop();
--
1.9.3