Add some temporary test code (ifdeffed out)
Change-Id: If5428e93bafeb97c8f8d39bf3407f34a2b0cfe20
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 32c0a0b..adbb33d 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -20,6 +20,7 @@
#include <unicode/ucnv.h>
#include <premac.h>
#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>
#include <postmac.h>
#endif
@@ -2098,6 +2099,14 @@ static void doc_paintTile(LibreOfficeKitDocument* pThis,
pDoc->paintTile(*pDevice.get(), nCanvasWidth, nCanvasHeight,
nTilePosX, nTilePosY, nTileWidth, nTileHeight);
#if 0
// Draw something at least, to see that the context as such is correctly set up
CGContextSetRGBFillColor(aData.rCGContext, 1, 0, 0, 1);
CGContextFillRect(aData.rCGContext, CGRectMake (0, 0, 200, 100));
CGContextSetRGBFillColor(aData.rCGContext, 0, 0, 1, .5);
CGContextFillRect(aData.rCGContext, CGRectMake (0, 0, 100, 200));
#endif
#else
ScopedVclPtrInstance< VirtualDevice > pDevice(nullptr, Size(1, 1), DeviceFormat::DEFAULT) ;