summaryrefslogtreecommitdiff
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 13:26:27 +0000
commit5bdbf99c3ec6e5e0793c52c34ff4f3a17afab107 (patch)
treed9d46e7e8eb34744a3feb5ab1ac6e3bf9f58df4c
parent95b10e373d117f3ed3e53987aa40a65d1ca6d1a0 (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>
-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 563a4b2454da..bcd7bac86b14 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;
}
}