[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - svx/source

David Tardon dtardon at redhat.com
Tue Dec 9 13:18:07 PST 2014


 svx/source/unodraw/UnoGraphicExporter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a87db12c78d073dbfea50c833c25360285787054
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Dec 9 22:12:03 2014 +0100

    fdo#37682 paint the right area
    
    Change-Id: Ic3d1f6e47bf068e60dca711c97e3f6b194d14049
    (cherry picked from commit a68a7b831a5d1756ea9428e12bb89f69dc30950f)

diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx
index ad1be54..3155a13 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();
 


More information about the Libreoffice-commits mailing list