diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2022-12-12 21:41:50 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-12-26 23:57:06 +0000 |
commit | cffe7884342f249e82780a46f9aba4213e9dd378 (patch) | |
tree | 167b82d5f17dd0e733881ea427a60b8aea9958db /include | |
parent | 46c8dacd3bd01b0453796d1eb729f81f175837f2 (diff) |
oox: rename name variables that are imported into oox::Theme
Rename names for font scheme and format scheme in oox::Theme so
it is easier to know for what they are used for.
Change-Id: I83e2978c407ab7f264de4a161575b086bc5efc03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143993
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/oox/drawingml/theme.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/oox/drawingml/theme.hxx b/include/oox/drawingml/theme.hxx index 34347923b669..f7b4a262ffb8 100644 --- a/include/oox/drawingml/theme.hxx +++ b/include/oox/drawingml/theme.hxx @@ -57,8 +57,9 @@ class TextFont; class OOX_DLLPUBLIC Theme { public: - void setStyleName( const OUString& rStyleName ) { maStyleName = rStyleName; } - void setThemeName(const OUString& rThemeName) { maThemeName = rThemeName; } + void setThemeName(OUString const& rName) { maThemeName = rName; } + void setFormatSchemeName(OUString const& rName) { maFormatSchemeName = rName; } + void setFontSchemeName(OUString const& rName) { maFontSchemeName = rName; } ClrScheme& getClrScheme() { return maClrScheme; } const ClrScheme& getClrScheme() const { return maClrScheme; } @@ -101,8 +102,9 @@ public: void addTheme(const css::uno::Reference<css::drawing::XDrawPage>& xDrawPage) const; private: - OUString maStyleName; OUString maThemeName; + OUString maFontSchemeName; + OUString maFormatSchemeName; ClrScheme maClrScheme; FillStyleList maFillStyleList; FillStyleList maBgFillStyleList; |