drawinglayer/source/processor2d/vclhelperbufferdevice.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit b540f9172814f51361cf31d2a4b03e34d1d375ef
Author: tsahi glik <tsahi.g...@cloudon.com>
Date:   Fri Feb 14 16:27:16 2014 -0800

    fix crash on ios

diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx 
b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
index 176d7a4..ffb84cf 100644
--- a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
+++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
@@ -348,7 +348,11 @@ namespace drawinglayer
         OSL_ENSURE(mpContent, "impBufferDevice: No content, check isVisible() 
before accessing (!)");
         if(!mpMask)
         {
+#ifdef IOS
+            mpMask = getVDevBuffer().alloc(mrOutDev, maDestPixel.GetSize(), 
true, 8);
+#else
             mpMask = getVDevBuffer().alloc(mrOutDev, maDestPixel.GetSize(), 
true, 1);
+#endif
             mpMask->SetMapMode(mpContent->GetMapMode());
 
             // do NOT copy AA flag for mask!
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to