From be2500807cac28d7c29ca7d6a98232d35bfcbfe0 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Thu, 22 Feb 2024 12:09:10 +0100 Subject: tdf#157158: always paint the arrow black MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The background doesn't change so do not change the arrow color either Change-Id: I7a5f80e639570e94975b7e033619783d24c95a6f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163737 Reviewed-by: Caolán McNamara Tested-by: Jenkins Reviewed-by: Xisco Fauli (cherry picked from commit c4553ae6e06ce84c2f477ec85bc2056645eb4833) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163755 --- sw/source/uibase/docvw/AnnotationWin2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') diff --git a/sw/source/uibase/docvw/AnnotationWin2.cxx b/sw/source/uibase/docvw/AnnotationWin2.cxx index a1780f9132c8..6b8895f1d9d2 100644 --- a/sw/source/uibase/docvw/AnnotationWin2.cxx +++ b/sw/source/uibase/docvw/AnnotationWin2.cxx @@ -504,7 +504,7 @@ void SwAnnotationWin::SetMenuButtonColors() const tools::Long nBorderDistanceBottom = ((aSymbolRect.GetHeight() * 150) + 500) / 1000; aSymbolRect.AdjustBottom( -nBorderDistanceBottom ); DecorationView aDecoView(xVirDev.get()); - aDecoView.DrawSymbol(aSymbolRect, SymbolType::SPIN_DOWN, GetTextColor(), + aDecoView.DrawSymbol(aSymbolRect, SymbolType::SPIN_DOWN, COL_BLACK, DrawSymbolFlags::NONE); mxMenuButton->set_image(xVirDev); mxMenuButton->set_size_request(aSize.Width() + 4, aSize.Height() + 4); -- cgit