diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2024-01-07 18:31:22 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2024-01-12 08:04:34 +0100 |
commit | 13e055808461f92be68f7691392b23159ac9a1ba (patch) | |
tree | ee91dc5329d6958bcde694e6e0fbe0bc792ec2b3 /sc/source/ui/theme | |
parent | ca3112f38ea67d3cff1c9784adcc30ffcb200a0a (diff) |
sc: announce theme colors with lok callback
As it is done already for Writer. Unfortunately cannot
move the code from afterCallbackRegistered to base class
in sfx2 as it is not linked to svx which is needed to
generate JSON. So at least share generation and sending
part in ThemeColorChangerCommon.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Icbf681230bd4c49698c47d852a0862620d93bcec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161771
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161927
Tested-by: Jenkins
Diffstat (limited to 'sc/source/ui/theme')
-rw-r--r-- | sc/source/ui/theme/ThemeColorChanger.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/theme/ThemeColorChanger.cxx b/sc/source/ui/theme/ThemeColorChanger.cxx index c9b88652dcc3..2ba881544372 100644 --- a/sc/source/ui/theme/ThemeColorChanger.cxx +++ b/sc/source/ui/theme/ThemeColorChanger.cxx @@ -19,7 +19,7 @@ #include <editeng/boxitem.hxx> #include <editeng/borderline.hxx> #include <svx/svditer.hxx> -#include <svx/theme/ThemeColorChangerCommon.hxx> +#include <svx/theme/IThemeColorChanger.hxx> #include <undodraw.hxx> #include <stlpool.hxx> @@ -311,7 +311,7 @@ void changeThemeColorInTheDocModel(ScDocShell& rDocShell, } // end anonymous ns -void ThemeColorChanger::apply(std::shared_ptr<model::ColorSet> const& pColorSet) +void ThemeColorChanger::doApply(std::shared_ptr<model::ColorSet> const& pColorSet) { // Can't change to an empty color set if (!pColorSet) |