summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2014-12-09 22:12:03 +0100
committerDavid Tardon <dtardon@redhat.com>2014-12-09 22:17:27 +0100
commita87db12c78d073dbfea50c833c25360285787054 (patch)
tree9f4bceb2e000a8bb01930a9b16da1f7aed55dce4
parent76358a71a937b5af93e4257c0dd0c1cf0e9b7ab7 (diff)
fdo#37682 paint the right area
Change-Id: Ic3d1f6e47bf068e60dca711c97e3f6b194d14049 (cherry picked from commit a68a7b831a5d1756ea9428e12bb89f69dc30950f)
-rw-r--r--svx/source/unodraw/UnoGraphicExporter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx
index ad1be5447ef8..3155a137f946 100644
--- a/svx/source/unodraw/UnoGraphicExporter.cxx
+++ b/svx/source/unodraw/UnoGraphicExporter.cxx
@@ -763,7 +763,7 @@ bool GraphicExporter::GetGraphic( ExportSettings& rSettings, Graphic& aGraphic,
// Use new StandardCheckVisisbilityRedirector
ImplExportCheckVisisbilityRedirector aRedirector( mpCurrentPage );
- pView->CompleteRedraw(&aVDev, vcl::Region(Rectangle(Point(), aNewSize)), &aRedirector);
+ pView->CompleteRedraw(&aVDev, vcl::Region(Rectangle(aNewOrg, aNewSize)), &aRedirector);
aVDev.Pop();