From d7d8c688d7c20ecb49ff5b3577bee3d55b806d3c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 6 Jun 2023 11:37:44 +0200 Subject: convert ColorConfig to officecfg where possible Change-Id: I14f0ada21d328b3b6637709e403bfe973a7035b0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152670 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/app/apphdl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source') diff --git a/sw/source/uibase/app/apphdl.cxx b/sw/source/uibase/app/apphdl.cxx index dcdb31ae8bc3..674ea0d8b900 100644 --- a/sw/source/uibase/app/apphdl.cxx +++ b/sw/source/uibase/app/apphdl.cxx @@ -989,7 +989,7 @@ void SwModule::ConfigurationChanged( utl::ConfigurationBroadcaster* pBrdCst, Con dynamic_cast< const SwSrcView *>( pViewShell ) != nullptr) { SwViewOption aNewOptions = *pSwView->GetWrtShell().GetViewOptions(); - aNewOptions.SetThemeName(m_pColorConfig->GetCurrentSchemeName()); + aNewOptions.SetThemeName(svtools::ColorConfig::GetCurrentSchemeName()); SwViewColors aViewColors(*m_pColorConfig); aNewOptions.SetColorConfig(aViewColors); pSwView->GetWrtShell().ApplyViewOptions(aNewOptions); -- cgit