sfx2/source/view/lokstarmathhelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d5131b7a5fe6f0bc1afc9bf33df2a7e423f3edb6
Author:     Caolán McNamara <[email protected]>
AuthorDate: Mon Feb 23 20:36:05 2026 +0000
Commit:     Caolán McNamara <[email protected]>
CommitDate: Tue Feb 24 09:25:45 2026 +0100

    fix content all transparent in kit mode after drawing math object
    
    commit e0d4d178caff1414a9a21fa57f06bc8d4d2c389a
    Date:   Mon Jan 13 15:03:05 2025 +0200
    
        Change alpha behavour of OutputDevice::SetFillColor
    
        It is pretty ugly bad on several levels.
    
    added a false argument to the similar calls for chart, etc, but not
    to this one, probably because it wasn't there at the time. So this
    route cleared the destination buffer.
    
    Change-Id: I7cfcf8cd296fc012dde6d3568cbcbb93da9fff21
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200094
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/sfx2/source/view/lokstarmathhelper.cxx 
b/sfx2/source/view/lokstarmathhelper.cxx
index 9ef0f9311665..60a108d3de27 100644
--- a/sfx2/source/view/lokstarmathhelper.cxx
+++ b/sfx2/source/view/lokstarmathhelper.cxx
@@ -221,7 +221,7 @@ void 
LokStarMathHelper::PaintAllInPlaceOnTile(VirtualDevice& rDevice, int nOutpu
     const int nPartForCurView = pCurView->getPart();
 
     // Resizes the virtual device to contain the entries context
-    rDevice.SetOutputSizePixel({ nOutputWidth, nOutputHeight });
+    rDevice.SetOutputSizePixel({ nOutputWidth, nOutputHeight }, /*bErase*/ 
false);
 
     auto popIt = rDevice.ScopedPush(vcl::PushFlags::MAPMODE);
     MapMode aMapMode(rDevice.GetMapMode());

Reply via email to