[Libreoffice-commits] core.git: cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Sep 18 20:37:32 UTC 2018


 cui/source/tabpages/grfpage.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit b9a2d00c7c38ccd24b0663a2ecc6c08106fe51f1
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Sep 18 16:34:14 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Sep 18 22:37:09 2018 +0200

    Size aSz constructed but not used
    
    Change-Id: I49af25b7e5232a0309df8b08498cf33b13e279ad
    Reviewed-on: https://gerrit.libreoffice.org/60693
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/cui/source/tabpages/grfpage.cxx b/cui/source/tabpages/grfpage.cxx
index abcddd4b5af3..121329e3ef87 100644
--- a/cui/source/tabpages/grfpage.cxx
+++ b/cui/source/tabpages/grfpage.cxx
@@ -789,8 +789,6 @@ void SvxCropExample::Paint(vcl::RenderContext& rRenderContext, const ::tools::Re
                           aFrameSize);
     aGrf.Draw(&rRenderContext, aRect.TopLeft(), aRect.GetSize());
 
-    Size aSz(2, 0);
-    aSz = rRenderContext.PixelToLogic(aSz);
     rRenderContext.SetFillColor(COL_TRANSPARENT);
     rRenderContext.SetRasterOp(RasterOp::Invert);
     aRect.AdjustLeft(aTopLeft.Y() );


More information about the Libreoffice-commits mailing list