[Libreoffice-commits] core.git: drawinglayer/source

Tor Lillqvist tml at collabora.com
Mon Apr 7 02:37:15 PDT 2014


 drawinglayer/source/processor2d/vclhelperbufferdevice.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit b89325f7c8d01d950c161fea36af417066a0cf46
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Apr 7 12:26:19 2014 +0300

    This IOS ifdef has no visible effect either as far as I can see
    
    Change-Id: Ib800abd569cc713065b874f9ebbbd55b4dad986f

diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
index 2245520..e94f581 100644
--- a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
+++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
@@ -356,11 +356,7 @@ 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!


More information about the Libreoffice-commits mailing list