summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2016-03-04 11:17:47 +0100
committerMichael Meeks <michael.meeks@collabora.com>2016-03-04 21:15:49 +0000
commitda2f91b5ceef6d7c6a7b833b25a48f12f58643f5 (patch)
tree3ece5343e5d484a40cc75a1d20fdf0e41e4ca319 /vcl
parentdd37ff21753afe37dc7185fddf34adf33dc9291f (diff)
tdf#98052 - polypolygons were not drawn on the alpha device
In OutputDevice::DrawPolyPolygon when b2dpolygon are used for drawing the source polygon is not drawn on the alpha device. Change-Id: I54f4e5a13469d9844866cea61b074420219b836d Reviewed-on: https://gerrit.libreoffice.org/22893 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit 5bdbf99c3ec6e5e0793c52c34ff4f3a17afab107) Reviewed-on: https://gerrit.libreoffice.org/22902
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/outdev/polygon.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/outdev/polygon.cxx b/vcl/source/outdev/polygon.cxx
index 9008acd8fea6..369551ef7b41 100644
--- a/vcl/source/outdev/polygon.cxx
+++ b/vcl/source/outdev/polygon.cxx
@@ -103,6 +103,8 @@ void OutputDevice::DrawPolyPolygon( const tools::PolyPolygon& rPolyPoly )
if(bSuccess)
{
+ if( mpAlphaVDev )
+ mpAlphaVDev->DrawPolyPolygon( rPolyPoly );
return;
}
}