vcl/source/control/imivctl1.cxx |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

New commits:
commit a4befb29f325d4800b3408abb6e6df608a97ecf9
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Sat Jul 20 19:20:13 2024 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Sun Jul 21 01:29:15 2024 +0200

    cid#1610738 Logically dead code
    
    Change-Id: I5f10539adb2c109c19ec6ec41ec84c0db03b4d22
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170801
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/vcl/source/control/imivctl1.cxx b/vcl/source/control/imivctl1.cxx
index f14663e3f6fc..4d37fe8c085b 100644
--- a/vcl/source/control/imivctl1.cxx
+++ b/vcl/source/control/imivctl1.cxx
@@ -1026,12 +1026,7 @@ void 
SvxIconChoiceCtrl_Impl::PaintEntry(SvxIconChoiceCtrlEntry* pEntry, const Po
         else
             aNewFont.SetFillColor(rSettings.GetDeactiveColor());
 
-        Color aTextColor(rSettings.GetTabTextColor());
-        if (bSelected)
-            aTextColor = rSettings.GetTabHighlightTextColor();
-        else if (bMouseHovered)
-            aTextColor = rSettings.GetTabRolloverTextColor();
-        aNewFont.SetColor(aTextColor);
+        aNewFont.SetColor(rSettings.GetTabHighlightTextColor());
 
         rRenderContext.SetFont(aNewFont);
 

Reply via email to