[Libreoffice-commits] core.git: include/basebmp

tsahi glik tsahi.glik at cloudon.com
Tue Oct 15 07:28:15 PDT 2013


 include/basebmp/polypolygonrenderer.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 064da28833203545eb5554982008c7af346b2488
Author: tsahi glik <tsahi.glik at cloudon.com>
Date:   Fri Aug 30 11:49:55 2013 -0700

    fix polygon rendering with clip area of one line only
    
    Change-Id: I7f1b2c45109ed8011b76013ccb488cdfd12c7868
    Reviewed-on: https://gerrit.libreoffice.org/5709
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    Tested-by: Tor Lillqvist <tml at collabora.com>

diff --git a/include/basebmp/polypolygonrenderer.hxx b/include/basebmp/polypolygonrenderer.hxx
index 09bd18a..1fc9292 100644
--- a/include/basebmp/polypolygonrenderer.hxx
+++ b/include/basebmp/polypolygonrenderer.hxx
@@ -154,7 +154,7 @@ namespace basebmp
         const sal_Int32 nMinY( basegfx::fround(aPolyBounds.getMinY()) );
         const sal_Int32 nMaxY(
             std::min(
-                nClipY2-1,
+                nClipY2,
                 basegfx::fround(aPolyBounds.getMaxY())));
 
         if( nMinY > nMaxY )


More information about the Libreoffice-commits mailing list