desktop/source/lib/init.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 68f33bcc41cd3895e91578e9e2990a919748cc2b Author: Patrick Luby <patrick.l...@collabora.com> AuthorDate: Tue Feb 28 09:56:38 2023 -0500 Commit: Patrick Luby <plub...@neooffice.org> CommitDate: Tue Feb 28 18:44:45 2023 +0000 Fix iOS build breakage There were a few remaining DeviceFormat::DEFAULTS in remaining in IOS blocks after commit 00659bcdbbb167596e6fd18e283a54819dd6fe91 Change-Id: I29e1f2bd6d4ce20dea7a45ce17bc6f3b929859c6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148008 Tested-by: Jenkins Reviewed-by: Patrick Luby <plub...@neooffice.org> diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 6cd7a5a27470..eee57facee65 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -2589,7 +2589,7 @@ void paintTileToCGContext(ITiledRenderable* pDocument, SystemGraphicsData aData; aData.rCGContext = reinterpret_cast<CGContextRef>(rCGContext); - ScopedVclPtrInstance<VirtualDevice> pDevice(aData, Size(1, 1), DeviceFormat::DEFAULT); + ScopedVclPtrInstance<VirtualDevice> pDevice(aData, Size(1, 1), DeviceFormat::WITHOUT_ALPHA); pDevice->SetBackground(Wallpaper(COL_TRANSPARENT)); pDevice->SetOutputSizePixel(nCanvasSize); pDocument->paintTile(*pDevice, nCanvasSize.Width(), nCanvasSize.Height(), @@ -6585,7 +6585,7 @@ static void doc_paintWindowForView(LibreOfficeKitDocument* pThis, unsigned nLOKW SystemGraphicsData aData; aData.rCGContext = cgc; - ScopedVclPtrInstance<VirtualDevice> pDevice(aData, Size(1, 1), DeviceFormat::DEFAULT); + ScopedVclPtrInstance<VirtualDevice> pDevice(aData, Size(1, 1), DeviceFormat::WITHOUT_ALPHA); pDevice->SetBackground(Wallpaper(COL_TRANSPARENT)); pDevice->SetOutputSizePixel(Size(nWidth, nHeight));