From 9f0cf00d29298ed55737928ec4dddc50ac850cd8 Mon Sep 17 00:00:00 2001 From: Paris Oplopoios Date: Thu, 16 Mar 2023 03:58:18 +0200 Subject: Update view options string based on theme Update the view options string based on the theme when tiled rendering, and make sure only the currently active view is updated Change-Id: Ib24111848f2926fe7ae858ca2e18e946d980e83f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148943 Tested-by: Paris Oplopoios Reviewed-by: Paris Oplopoios --- svtools/source/config/colorcfg.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'svtools') diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx index 452104361729..359f55df45e1 100644 --- a/svtools/source/config/colorcfg.cxx +++ b/svtools/source/config/colorcfg.cxx @@ -468,6 +468,11 @@ ColorConfigValue ColorConfig::GetColorValue(ColorConfigEntry eEntry, bool bSmart return aRet; } +const OUString& ColorConfig::GetCurrentSchemeName() const +{ + return m_pImpl->GetLoadedScheme(); +} + EditableColorConfig::EditableColorConfig() : m_pImpl(new ColorConfig_Impl), m_bModified(false) -- cgit