summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/cctrl/dpcontrol.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/ui/cctrl/dpcontrol.cxx b/sc/source/ui/cctrl/dpcontrol.cxx
index d7dd13dd5c4e..0419b785b712 100644
--- a/sc/source/ui/cctrl/dpcontrol.cxx
+++ b/sc/source/ui/cctrl/dpcontrol.cxx
@@ -175,12 +175,14 @@ void ScDPFieldButton::drawPopupButton()
// Background & outer black border
mpOutDev->SetLineColor(COL_BLACK);
- Color aBackgroundColor = mbPopupPressed ? mpStyle->GetShadowColor() : mpStyle->GetFaceColor();
+ Color aBackgroundColor
+ = mbHasHiddenMember ? mpStyle->GetHighlightColor()
+ : mbPopupPressed ? mpStyle->GetShadowColor() : mpStyle->GetFaceColor();
mpOutDev->SetFillColor(aBackgroundColor);
mpOutDev->DrawRect(tools::Rectangle(aPos, aSize));
// the arrowhead
- Color aArrowColor = mbHasHiddenMember ? mpStyle->GetHighlightLinkColor() : mpStyle->GetButtonTextColor();
+ Color aArrowColor = mbHasHiddenMember ? mpStyle->GetHighlightTextColor() : mpStyle->GetButtonTextColor();
mpOutDev->SetLineColor(aArrowColor);
mpOutDev->SetFillColor(aArrowColor);