summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authortsahi glik <tsahi.glik@cloudon.com>2014-02-14 16:57:45 -0800
committertsahi glik <tsahi.glik@cloudon.com>2014-02-14 16:57:45 -0800
commitecf22894f522374cbdb8196d3bdef88e2fba7af9 (patch)
tree0501e24611c78e7b8108e160e608b1b802606561 /vcl
parentb540f9172814f51361cf31d2a4b03e34d1d375ef (diff)
fix another crash on ios
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/outdev6.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/gdi/outdev6.cxx b/vcl/source/gdi/outdev6.cxx
index bd8f10ebd414..e55e1256047f 100644
--- a/vcl/source/gdi/outdev6.cxx
+++ b/vcl/source/gdi/outdev6.cxx
@@ -467,7 +467,11 @@ void OutputDevice::DrawTransparent( const PolyPolygon& rPolyPoly,
if( !bDrawn )
{
+#ifdef IOS
+ VirtualDevice aVDev( *this, 8 );
+#else
VirtualDevice aVDev( *this, 1 );
+#endif
const Size aDstSz( aDstRect.GetSize() );
const sal_uInt8 cTrans = (sal_uInt8) MinMax( FRound( nTransparencePercent * 2.55 ), 0, 255 );