fix content all transparent in kit mode after drawing math object

commit e0d4d178ca
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 <caolan.mcnamara@collabora.com>
This commit is contained in:
Caolán McNamara
2026-02-24 09:25:45 +01:00
parent 7b73f7c154
commit d5131b7a5f
+1 -1
View File
@@ -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());