summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-06-06 11:37:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-06-06 17:35:10 +0200
commitd7d8c688d7c20ecb49ff5b3577bee3d55b806d3c (patch)
tree5ca40b2ddca96470d2a5e267eab7fb48931ab3b4 /svtools
parentbda52485d63e4cfc58453d9f46bf26c3ea078ed7 (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 'svtools')
-rw-r--r--svtools/source/config/colorcfg.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx
index 80c092d892d2..f2f142071a43 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -40,7 +40,7 @@
#include <vcl/svapp.hxx>
#include <vcl/event.hxx>
#include <vcl/settings.hxx>
-
+#include <officecfg/Office/UI.hxx>
using namespace utl;
using namespace com::sun::star;
@@ -488,8 +488,9 @@ ColorConfigValue ColorConfig::GetColorValue(ColorConfigEntry eEntry, bool bSmart
return aRet;
}
-const OUString& ColorConfig::GetCurrentSchemeName() const
+const OUString& ColorConfig::GetCurrentSchemeName()
{
+ officecfg::Office::UI::ColorScheme::CurrentColorScheme::get();
return m_pImpl->GetLoadedScheme();
}