sw/source/ui/chrdlg/drpcps.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a6eba41bb8ec4f2dcb08c46749efac3d0ee62773 Author: László Németh <laszlo.nem...@collabora.com> Date: Fri Jun 19 21:22:27 2015 +0200 fix DropCap preview rendering Change-Id: I15ccbfe5df8965f9ffb395343fcf6a5ee5b6595b diff --git a/sw/source/ui/chrdlg/drpcps.cxx b/sw/source/ui/chrdlg/drpcps.cxx index 2401be7..a7f4c1a 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))));
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits