vcl/source/window/paint.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0f5b4cc31cdce41f52e0fb46d589ddf91cdac425
Author:     Gülşah Köse <[email protected]>
AuthorDate: Wed Feb 18 20:16:08 2026 +0300
Commit:     Caolán McNamara <[email protected]>
CommitDate: Fri Feb 20 13:16:05 2026 +0100

    cool#14550 Fix the transparency issue for online
    
    Signed-off-by: Gülşah Köse <[email protected]>
    Change-Id: If25f654b80387cb1a5e9cfcc5b45b7b094304080
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199636
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index 66ef06148eed..867224669f37 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -1372,11 +1372,11 @@ void Window::ImplPaintToDevice( OutputDevice* 
i_pTargetOutDev, const Point& i_rP
     // TODO: Move to its own method
     if (comphelper::LibreOfficeKit::isActive())
     {
-        VclPtrInstance<VirtualDevice> pDevice(*i_pTargetOutDev);
+        VclPtrInstance<VirtualDevice> pDevice(*i_pTargetOutDev, 
DeviceFormat::WITH_ALPHA);
         pDevice->EnableRTL(IsRTLEnabled());
 
         Size aSize(GetOutputSizePixel());
-        pDevice->SetOutputSizePixel(aSize);
+        pDevice->SetOutputSizePixel(aSize, true, true);
 
         vcl::Font aCopyFont = GetFont();
         pDevice->SetFont(aCopyFont);

Reply via email to