vcl/source/outdev/line.cxx | 7 ------- 1 file changed, 7 deletions(-) New commits: commit 468448fcffa7aa50f9d0c8d2aba1c89aa50c94a7 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Fri Jul 11 11:05:59 2025 +0200 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Fri Jul 11 13:42:02 2025 +0200
remove assert in OutputDevice::SetLineColor from commit 20667acbca5df17771a3581632a672d5db4e751b I think it has served its purpose for now, flushing out the most obvious issues. The remaining places this triggers are less likely to be real issues Change-Id: I575da6b899c190e9f867238389d8f864aa18e04c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187695 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/vcl/source/outdev/line.cxx b/vcl/source/outdev/line.cxx index 3abbdaba95ec..e4387a3498ed 100644 --- a/vcl/source/outdev/line.cxx +++ b/vcl/source/outdev/line.cxx @@ -53,13 +53,6 @@ void OutputDevice::SetLineColor() void OutputDevice::SetLineColor( const Color& rColor ) { - // 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 || !rColor.IsTransparent()) - && "transparent color on a device that has no alpha layer will turn out wrong"); - Color aColor = vcl::drawmode::GetLineColor(rColor, GetDrawMode(), GetSettings().GetStyleSettings()); if( mpMetaFile )