summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
authorLászló Németh <laszlo.nemeth@collabora.com>2015-06-19 21:22:27 +0200
committerLászló Németh <laszlo.nemeth@collabora.com>2015-06-19 21:22:27 +0200
commita6eba41bb8ec4f2dcb08c46749efac3d0ee62773 (patch)
tree6c18bb821ede15b317ad380c6d664db6fda00865 /sw
parentfix tabpage rendering (diff)
downloadcore-a6eba41bb8ec4f2dcb08c46749efac3d0ee62773.tar.gz
core-a6eba41bb8ec4f2dcb08c46749efac3d0ee62773.zip
fix DropCap preview rendering
Change-Id: I15ccbfe5df8965f9ffb395343fcf6a5ee5b6595b
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/chrdlg/drpcps.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/chrdlg/drpcps.cxx b/sw/source/ui/chrdlg/drpcps.cxx
index 2401be789b43..a7f4c1a478ed 100644
--- a/sw/source/ui/chrdlg/drpcps.cxx
+++ b/sw/source/ui/chrdlg/drpcps.cxx
@@ -355,7 +355,7 @@ void SwDropCapsPict::Paint(vcl::RenderContext& rRenderContext, const Rectangle&
Size aOutputSizePixel(rRenderContext.GetOutputSizePixel());
- DrawRect(Rectangle(Point(0, 0), aOutputSizePixel));
+ rRenderContext.DrawRect(Rectangle(Point(0, 0), aOutputSizePixel));
rRenderContext.SetClipRegion(vcl::Region(Rectangle(Point(BORDER, BORDER),
Size(aOutputSizePixel.Width () - 2 * BORDER,
aOutputSizePixel.Height() - 2 * BORDER))));