summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorParis Oplopoios <paris.oplopoios@collabora.com>2023-03-16 03:58:18 +0200
committerParis Oplopoios <parisoplop@gmail.com>2023-03-16 23:48:10 +0000
commit9f0cf00d29298ed55737928ec4dddc50ac850cd8 (patch)
treea4f69bb28a004e533306f31baf4a37d816c80f7d /svtools
parent9310192a4a0af4e7e3e9ac6124cdd2a706dfedcb (diff)
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 <parisoplop@gmail.com> Reviewed-by: Paris Oplopoios <parisoplop@gmail.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/config/colorcfg.cxx5
1 files changed, 5 insertions, 0 deletions
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)