diff options
author | Louis-Francis Ratté-Boulianne <lfrb@collabora.com> | 2014-11-10 17:54:52 -0500 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-11-11 11:08:24 +0100 |
commit | 0f839d5ba9e2cc1e9958c46b901c831b01a7d93d (patch) | |
tree | 6cfde2b535b1c08a72fb65d4f66ec3c499c9e0b5 /vcl/workben | |
parent | 2dbd426c3b62b4a5b76da7a4b191059b2432c0e9 (diff) |
vcl: Fix the VirtualDevice rectangle rendering in vcldemo
Change-Id: I43d43d5e81d52560154b102cc469761b51a590d4
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/vcldemo.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx index cd3e32e56fdd..16574d922754 100644 --- a/vcl/workben/vcldemo.cxx +++ b/vcl/workben/vcldemo.cxx @@ -281,7 +281,7 @@ public: void fetchDrawBitmap(OutputDevice &rDev, Rectangle r) { - Bitmap aBitmap(GetBitmap(Point(0,0),rDev.GetOutputSizePixel())); + Bitmap aBitmap(rDev.GetBitmap(Point(0,0),rDev.GetOutputSizePixel())); aBitmap.Scale(r.GetSize(), BMP_SCALE_BESTQUALITY); rDev.DrawBitmap(r.TopLeft(), aBitmap); } |