svx/source/tbxctrls/layctrl.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 39dded7348229de57211ef30c5d2715bf42c9056 Author: Rafael Lima <rafael.palma.l...@gmail.com> AuthorDate: Mon Oct 10 20:42:37 2022 +0200 Commit: Adolfo Jayme Barrientos <fit...@ubuntu.com> CommitDate: Sat Oct 15 12:44:12 2022 +0200 tdf#136921 Fix color of Insert - Section control in dark mode Change-Id: I907d39048cfd963d91643bdff7de3d10310217d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141176 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> (cherry picked from commit cf9a83b495576f9c12cd36f65b11d3d1b8f1d142) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141395 diff --git a/svx/source/tbxctrls/layctrl.cxx b/svx/source/tbxctrls/layctrl.cxx index 813df4089bb6..79dd794fd6e8 100644 --- a/svx/source/tbxctrls/layctrl.cxx +++ b/svx/source/tbxctrls/layctrl.cxx @@ -461,8 +461,7 @@ ColumnsWidget::ColumnsWidget(SvxColumnsToolBoxControl* pControl, weld::SpinButto mrSpinButton.connect_activate(LINK(this, ColumnsWidget, ActivateHdl)); const StyleSettings& rStyles = Application::GetSettings().GetStyleSettings(); - svtools::ColorConfig aColorConfig; - aLineColor = aColorConfig.GetColorValue( svtools::FONTCOLOR ).nColor; + aLineColor = rStyles.GetLabelTextColor(); aHighlightLineColor = rStyles.GetHighlightTextColor(); aFillColor = rStyles.GetWindowColor(); aHighlightFillColor = rStyles.GetHighlightColor();