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

New commits:
commit 61e27e85857f44ee6759baee196dfd951d04acfd
Author:     Rafael Lima <rafael.palma.l...@gmail.com>
AuthorDate: Thu Sep 29 15:23:51 2022 +0200
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Mon Oct 3 15:45:39 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>
    (cherry picked from commit 56ea2f069952d23e5b94689669a5ea18a505ea7e)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140880
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/svx/source/tbxctrls/layctrl.cxx b/svx/source/tbxctrls/layctrl.cxx
index e67d77fd59e2..813df4089bb6 100644
--- a/svx/source/tbxctrls/layctrl.cxx
+++ b/svx/source/tbxctrls/layctrl.cxx
@@ -132,8 +132,7 @@ TableWidget::TableWidget(SvxTableToolBoxControl* pControl, 
const OUString& rComm
     , 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