summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNatalia Gavrilova <nataligavrilova8@gmail.com>2021-10-09 08:31:47 +0300
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2021-10-09 10:26:49 +0200
commitc307c34a295fbbaf0af91a17440b045133981cc8 (patch)
treebff16ec24026dd7b367298313046e2db4cf12c84 /sc
parent6a9efc627bd6e24bb56e6cd1e70708eee5af451d (diff)
tdf#142121 Cell focus rectangle does not use font color
* The black square in the down right corner is also highlight color now Change-Id: I249872da70cde25b2d14e6fb3189a5a21e52f492 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123300 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/gridwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 124650b459f6..311a59d8dbcd 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -6464,7 +6464,7 @@ void ScGridWindow::UpdateAutoFillOverlay()
}
else if (xOverlayManager.is())
{
- Color aHandleColor( SC_MOD()->GetColorConfig().GetColorValue(svtools::FONTCOLOR).nColor );
+ Color aHandleColor = GetSettings().GetStyleSettings().GetHighlightColor();
if (mrViewData.GetActivePart() != eWhich)
// non-active pane uses a different color.
aHandleColor = SC_MOD()->GetColorConfig().GetColorValue(svtools::CALCPAGEBREAKAUTOMATIC).nColor;