svx/source/tbxctrls/layctrl.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 56ea2f069952d23e5b94689669a5ea18a505ea7e
Author:     Rafael Lima <rafael.palma.l...@gmail.com>
AuthorDate: Thu Sep 29 15:23:51 2022 +0200
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Sat Oct 1 09:03:01 2022 +0200

    tdf#136919 Fix table size label in dark mode
    
    Change-Id: Ifd4d67fa8211cf703c5d5d6ea99a0f41bd427e1c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140612
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>

diff --git a/svx/source/tbxctrls/layctrl.cxx b/svx/source/tbxctrls/layctrl.cxx
index 20e6b059f08e..f5f5b1566903 100644
--- a/svx/source/tbxctrls/layctrl.cxx
+++ b/svx/source/tbxctrls/layctrl.cxx
@@ -133,8 +133,7 @@ TableWidget::TableWidget(SvxTableToolBoxControl* pControl, 
OUString aCommand)
     , mnTableHeight(0)
 {
     const StyleSettings& rStyles = 
Application::GetSettings().GetStyleSettings();
-    svtools::ColorConfig aColorConfig;
-    aFontColor = aColorConfig.GetColorValue( svtools::FONTCOLOR ).nColor;
+    aFontColor = rStyles.GetLabelTextColor();
     aLineColor = rStyles.GetShadowColor();
     aFillColor = rStyles.GetWindowColor();
     aHighlightFillColor = rStyles.GetHighlightColor();

Reply via email to