summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-10-05 17:36:03 +0300
committerMichael Meeks <michael.meeks@collabora.com>2018-10-30 17:00:47 +0000
commitfa14baa5e09a47ff1ee30d7a2b23ab7ee49c04cd (patch)
tree7f51104b1a117ce8bfacafa2b3e8c0a0feb072f2 /desktop
parent85831e8bc9e6b95ff97096bdbe718d1b251b0265 (diff)
We should call pDevice->SetBackground(Wallpaper(COL_TRANSPARENT)) also on iOS
Change-Id: Id42d3b84ab97ec1efd9551e4d9cc5fd16ab77c80 (cherry picked from commit 88f7147c1ab9d1feeb5c14d67ffa1b623df5dc50) Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 734862fa1420..4a93cf37eb1c 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2104,6 +2104,8 @@ static void doc_paintTile(LibreOfficeKitDocument* pThis,
// the Size argument is irrelevant, I hope
ScopedVclPtrInstance<VirtualDevice> pDevice(&aData, Size(1, 1), DeviceFormat::DEFAULT);
+ pDevice->SetBackground(Wallpaper(COL_TRANSPARENT));
+
pDevice->SetOutputSizePixel(Size(nCanvasWidth, nCanvasHeight));
pDoc->paintTile(*pDevice.get(), nCanvasWidth, nCanvasHeight,