diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-10-15 17:33:48 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-10-15 17:33:48 +0300 |
commit | 3a6a1d65834163761376dcd7f3843d6682cbd37c (patch) | |
tree | c13ac1637100a9aeb42932c77fd5d58b10c3ebd2 /include | |
parent | 064da28833203545eb5554982008c7af346b2488 (diff) |
Revert "fix polygon rendering with clip area of one line only"
Sorry, but this breaks the basebmp unit test.
This reverts commit 064da28833203545eb5554982008c7af346b2488.
Diffstat (limited to 'include')
-rw-r--r-- | include/basebmp/polypolygonrenderer.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/basebmp/polypolygonrenderer.hxx b/include/basebmp/polypolygonrenderer.hxx index 1fc9292c934b..09bd18adc493 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 ) |