sw/source/core/crsr/FormFieldButton.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7d3bd39c5156caeb77fdb63a773640a2091165b4 Author: Noel Grandin <[email protected]> AuthorDate: Wed Nov 26 13:18:33 2025 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Wed Nov 26 16:20:03 2025 +0100 tdf#169148 Date picker in DOCX file has black background Change-Id: I14d339eae3076d0ab0ea79c0a095fa7d74552bd0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194621 Tested-by: Jenkins Tested-by: Noel Grandin <[email protected]> Code-Style: Noel Grandin <[email protected]> Reviewed-by: Noel Grandin <[email protected]> diff --git a/sw/source/core/crsr/FormFieldButton.cxx b/sw/source/core/crsr/FormFieldButton.cxx index a3edb345ce68..052d91da5c78 100644 --- a/sw/source/core/crsr/FormFieldButton.cxx +++ b/sw/source/core/crsr/FormFieldButton.cxx @@ -115,7 +115,7 @@ void FormFieldButton::Paint(vcl::RenderContext& rRenderContext, const tools::Rec const tools::Rectangle aFrameRect(tools::Rectangle(aPos, aSize)); rRenderContext.SetLineColor(aLineColor); if (rRenderContext.HasAlpha()) - rRenderContext.SetFillColor(COL_TRANSPARENT); + rRenderContext.SetFillColor(); else rRenderContext.SetFillColor(COL_WHITE); rRenderContext.DrawRect(aFrameRect);
