summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-10-05 17:36:03 +0300
committerTor Lillqvist <tml@collabora.com>2018-10-05 20:21:05 +0300
commit88f7147c1ab9d1feeb5c14d67ffa1b623df5dc50 (patch)
treec885a99cd7acaac85c1eecacd964cfd364753d57
parent62e5bcd8b76d0cbe38804e54be5c08c5933ee238 (diff)
We should call pDevice->SetBackground(Wallpaper(COL_TRANSPARENT)) also on iOS
Change-Id: Id42d3b84ab97ec1efd9551e4d9cc5fd16ab77c80
-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 d28bad27d375..477a3feb8180 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2098,6 +2098,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,