sc/source/ui/view/gridwin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c307c34a295fbbaf0af91a17440b045133981cc8
Author:     Natalia Gavrilova <nataligavrilo...@gmail.com>
AuthorDate: Sat Oct 9 08:31:47 2021 +0300
Commit:     Heiko Tietze <heiko.tie...@documentfoundation.org>
CommitDate: Sat Oct 9 10:26:49 2021 +0200

    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.tie...@documentfoundation.org>

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;

Reply via email to