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

Tor Lillqvist tml at collabora.com
Tue Oct 15 07:34:31 PDT 2013


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

New commits:
commit 3a6a1d65834163761376dcd7f3843d6682cbd37c
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Oct 15 17:33:48 2013 +0300

    Revert "fix polygon rendering with clip area of one line only"
    
    Sorry, but this breaks the basebmp unit test.
    
    This reverts commit 064da28833203545eb5554982008c7af346b2488.

diff --git a/include/basebmp/polypolygonrenderer.hxx b/include/basebmp/polypolygonrenderer.hxx
index 1fc9292..09bd18a 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,
+                nClipY2-1,
                 basegfx::fround(aPolyBounds.getMaxY())));
 
         if( nMinY > nMaxY )


More information about the Libreoffice-commits mailing list