summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-02-05 10:54:56 +0200
committerTor Lillqvist <tml@collabora.com>2015-02-11 17:08:52 +0200
commitd8f74fb158a69016ec6fe5858e9eff53beb8d9fa (patch)
tree12c45ff646c93fca45e9f55cb9b22ea133a7024f
parent8e2457415d0e8cd65491c42112e6d93222db32d9 (diff)
We can put a few more lines inside the #ifndef IOS
Change-Id: I607b2c06cad569a0e7495c3009a0883be1f22856
-rw-r--r--desktop/source/lib/init.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 644301969ca8..37237d0b002c 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -578,11 +578,12 @@ void doc_paintTile (LibreOfficeKitDocument* pThis,
SolarMutexGuard aGuard;
#if defined(UNX) && !defined(MACOSX) && !defined(ENABLE_HEADLESS)
+
+#ifndef IOS
ImplSVData* pSVData = ImplGetSVData();
SvpSalInstance* pSalInstance = static_cast< SvpSalInstance* >(pSVData->mpDefInst);
pSalInstance->setBitCountFormatMapping( 32, ::basebmp::FORMAT_THIRTYTWO_BIT_TC_MASK_RGBA );
-#ifndef IOS
VirtualDevice aDevice(0, Size(1, 1), (sal_uInt16)32);
boost::shared_array< sal_uInt8 > aBuffer( pBuffer, NoDelete< sal_uInt8 >() );
aDevice.SetOutputSizePixelScaleOffsetAndBuffer(