vcl/source/outdev/fill.cxx | 7 -------
1 file changed, 7 deletions(-)
New commits:
commit fc887c202a288069fa662f6279726ab598aaa882
Author: Noel Grandin <[email protected]>
AuthorDate: Sat Jul 5 11:49:58 2025 +0200
Commit: Noel Grandin <[email protected]>
CommitDate: Sat Jul 5 16:29:45 2025 +0200
remove this assert for now
Apparently it triggers under gtk if
- you have a dual screen setup
- you enable presenter console
- you start a blank slideshow
But I have no means of debugging this right now
Change-Id: Ia6cd5d18b233f2c2e0a38f6713b4534910d7dbb8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187438
Reviewed-by: Noel Grandin <[email protected]>
Tested-by: Jenkins
diff --git a/vcl/source/outdev/fill.cxx b/vcl/source/outdev/fill.cxx
index 16bb327a0cef..067762d17838 100644
--- a/vcl/source/outdev/fill.cxx
+++ b/vcl/source/outdev/fill.cxx
@@ -47,13 +47,6 @@ void OutputDevice::SetFillColor( const Color& rColor )
{
Color aColor(vcl::drawmode::GetFillColor(rColor, GetDrawMode(),
GetSettings().GetStyleSettings()));
- // If this assert fires, and this is a VirtualDevice, you likely need to
either
- // (a) create this VirtualDevice with the WITH_ALPHA flag
- // or
- // (b) call SetFillColor() to set no fill
- assert((mpAlphaVDev || !aColor.IsTransparent())
- && "transparent color on a device that has no alpha layer will turn
out wrong");
-
if ( mpMetaFile )
mpMetaFile->AddAction( new MetaFillColorAction( aColor, true ) );