[Libreoffice-commits] core.git: vcl/workben

Stephan Bergmann sbergman at redhat.com
Wed Nov 12 00:22:56 PST 2014


 vcl/workben/vcldemo.cxx |   11 -----------
 1 file changed, 11 deletions(-)

New commits:
commit 3e90cc12731eaf149dce83237bfccb88ffbd26a9
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Nov 12 09:22:13 2014 +0100

    loplugin:unreffun
    
    Change-Id: I77a832e729b4410be953343fa4702e37b4ae691c

diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index 0aae845..21b33c0 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -493,17 +493,6 @@ public:
         }
     };
 
-    struct FetchDrawBitmap : public RegionRenderer
-    {
-        virtual void RenderRegion(OutputDevice &rDev, Rectangle r,
-                                  const RenderContext &) SAL_OVERRIDE
-        {
-            Bitmap aBitmap(rDev.GetBitmap(Point(0,0),rDev.GetOutputSizePixel()));
-            aBitmap.Scale(r.GetSize(), BMP_SCALE_BESTQUALITY);
-            rDev.DrawBitmap(r.TopLeft(), aBitmap);
-        }
-    };
-
     void drawToDevice(OutputDevice &rDev, bool bVdev)
     {
         RenderContext aCtx;


More information about the Libreoffice-commits mailing list