summaryrefslogtreecommitdiff
path: root/include/basebmp/polypolygonrenderer.hxx
diff options
context:
space:
mode:
authortsahi glik <tsahi.glik@cloudon.com>2013-08-30 11:49:55 -0700
committerTor Lillqvist <tml@collabora.com>2013-10-15 14:27:53 +0000
commit064da28833203545eb5554982008c7af346b2488 (patch)
treeb3a05a882a46a7e4cbd33e3175a776829c6ba90b /include/basebmp/polypolygonrenderer.hxx
parent36f4a7956551a49b1ca184189da7feef1ad98cc3 (diff)
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@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'include/basebmp/polypolygonrenderer.hxx')
-rw-r--r--include/basebmp/polypolygonrenderer.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/basebmp/polypolygonrenderer.hxx b/include/basebmp/polypolygonrenderer.hxx
index 09bd18adc493..1fc9292c934b 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 )