diff options
author | Natalia Gavrilova <nataligavrilova8@gmail.com> | 2021-09-24 22:31:44 +0300 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2021-09-27 09:29:12 +0200 |
commit | b1c318e9f18f6a4e56d42fc7b7c5c2942b28941d (patch) | |
tree | aaaa55507c2ffdbab726eb5798a808c3d6c3fb45 /sc | |
parent | ebb4cee9b796313165e4362886516da971074556 (diff) |
tdf#142121 Cell focus rectangle does not use font color
* Focused rectangle uses highlight color instead of font
Change-Id: I861f944b449d31183f082864e57071e401d3c451
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122602
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index 16ce773a287b..ef01c2ab1abe 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -6264,7 +6264,7 @@ void ScGridWindow::UpdateCursorOverlay() if (xOverlayManager.is()) { - Color aCursorColor( SC_MOD()->GetColorConfig().GetColorValue(svtools::FONTCOLOR).nColor ); + Color aCursorColor = GetSettings().GetStyleSettings().GetHighlightColor(); if (mrViewData.GetActivePart() != eWhich) // non-active pane uses a different color. aCursorColor = SC_MOD()->GetColorConfig().GetColorValue(svtools::CALCPAGEBREAKAUTOMATIC).nColor; |