summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 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 )