From 3e90cc12731eaf149dce83237bfccb88ffbd26a9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 12 Nov 2014 09:22:13 +0100 Subject: [PATCH] loplugin:unreffun Change-Id: I77a832e729b4410be953343fa4702e37b4ae691c --- vcl/workben/vcldemo.cxx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx index 0aae8459531b..21b33c070355 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;