diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-06-06 11:37:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-06-06 17:35:10 +0200 |
commit | d7d8c688d7c20ecb49ff5b3577bee3d55b806d3c (patch) | |
tree | 5ca40b2ddca96470d2a5e267eab7fb48931ab3b4 /sw | |
parent | bda52485d63e4cfc58453d9f46bf26c3ea078ed7 (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/app/apphdl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |