svx/source/dialog/charmap.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit ed48829ae89b730c409a19b3ce2befaa8944f65f Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Tue Jul 1 13:28:57 2025 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Jul 1 15:10:44 2025 +0200 tdf#166842 do not use FillColor==COL_TRANSPARENT... .. on OutputDevice if that OutputDevice does not support alpha Change-Id: Id11ed17a87c0cf41b66f5b793c1f86e4cbc0dea5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187235 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx index 65b500ae33f0..c1017be14cd5 100644 --- a/svx/source/dialog/charmap.cxx +++ b/svx/source/dialog/charmap.cxx @@ -583,7 +583,7 @@ void SvxShowCharSet::DrawChars_Impl(vcl::RenderContext& rRenderContext, int n1, { const Color aLineCol = rRenderContext.GetLineColor(); rRenderContext.SetLineColor(aHighlightColor); - rRenderContext.SetFillColor(COL_TRANSPARENT); + rRenderContext.SetFillColor(); // Outer border rRenderContext.DrawRect(tools::Rectangle(Point(x - 1, y - 1), Size(nX + 3, nY + 3)), 1, 1); // Inner border @@ -600,7 +600,6 @@ void SvxShowCharSet::DrawChars_Impl(vcl::RenderContext& rRenderContext, int n1, else { Color aLineCol = rRenderContext.GetLineColor(); - Color aFillCol = rRenderContext.GetFillColor(); rRenderContext.SetLineColor(); Point aPointUL(x + 1, y + 1); if (HasFocus()) @@ -627,7 +626,6 @@ void SvxShowCharSet::DrawChars_Impl(vcl::RenderContext& rRenderContext, int n1, rRenderContext.DrawText(aPointTxTy, aCharStr); } rRenderContext.SetLineColor(aLineCol); - rRenderContext.SetFillColor(aFillCol); } rRenderContext.SetTextColor(aTextCol); }