diff options
author | László Németh <laszlo.nemeth@collabora.com> | 2015-06-19 21:22:27 +0200 |
---|---|---|
committer | László Németh <laszlo.nemeth@collabora.com> | 2015-06-19 21:22:27 +0200 |
commit | a6eba41bb8ec4f2dcb08c46749efac3d0ee62773 (patch) | |
tree | 6c18bb821ede15b317ad380c6d664db6fda00865 | |
parent | 016cf9b21d5c569183b00ed7d228b7b0f2efa685 (diff) |
fix DropCap preview rendering
Change-Id: I15ccbfe5df8965f9ffb395343fcf6a5ee5b6595b
-rw-r--r-- | sw/source/ui/chrdlg/drpcps.cxx | 2 |
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)))); |