[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sw/source

László Németh laszlo.nemeth at collabora.com
Sat Jun 20 02:27:33 PDT 2015


 sw/source/ui/chrdlg/drpcps.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cc78917935f976ec243a0cd47418d05c9254ee76
Author: László Németh <laszlo.nemeth at collabora.com>
Date:   Fri Jun 19 21:22:27 2015 +0200

    fix DropCap preview rendering
    
    Change-Id: I15ccbfe5df8965f9ffb395343fcf6a5ee5b6595b
    Reviewed-on: https://gerrit.libreoffice.org/16380
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>

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))));


More information about the Libreoffice-commits mailing list