From d8f74fb158a69016ec6fe5858e9eff53beb8d9fa Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 5 Feb 2015 10:54:56 +0200 Subject: We can put a few more lines inside the #ifndef IOS Change-Id: I607b2c06cad569a0e7495c3009a0883be1f22856 --- desktop/source/lib/init.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'desktop/source') 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( -- cgit