summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2023-09-04 12:06:06 +0200
committerTomaž Vajngerl <quikee@gmail.com>2023-09-05 13:23:32 +0200
commitca120667c3855fbfc1e3579d4cf4ed0e3b93770a (patch)
treeab85bdfdc2bca6f04e825b00dd6bec1b72c785fd /xmloff/inc
parent98319164284c4a25d6a2313e6b8a35d244d94e91 (diff)
xmloff: rename m_aObject in XMLThemeContext and clarify
Clarify what m_aObject is in the theme import (XMLThemeContext) and rename to a better name. It is refering to an object that has the "Theme" property, which is usually found in on XPage (master page) or XModel, but technically could be any object that has the property (for getting and setting the XTheme type). Change-Id: If15a8c42a0c516cd0566f4ee9e81f7315ef1651e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156511 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/XMLThemeContext.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmloff/inc/XMLThemeContext.hxx b/xmloff/inc/XMLThemeContext.hxx
index f8ee08d5d4e8..c3056fa74216 100644
--- a/xmloff/inc/XMLThemeContext.hxx
+++ b/xmloff/inc/XMLThemeContext.hxx
@@ -24,13 +24,14 @@ class Theme;
/// Imports the theme
class XMLThemeContext : public SvXMLImportContext
{
- css::uno::Reference<css::uno::XInterface> m_xObject;
+ // Any UNO object that has the "Theme" property - usually XPage (master page) or XModel
+ css::uno::Reference<css::uno::XInterface> m_xObjectWithThemeProperty;
std::shared_ptr<model::Theme> mpTheme;
public:
XMLThemeContext(SvXMLImport& rImport,
css::uno::Reference<css::xml::sax::XFastAttributeList> const& xAttrList,
- css::uno::Reference<css::uno::XInterface> const& xObject);
+ css::uno::Reference<css::uno::XInterface> const& xObjectWithThemeProperty);
~XMLThemeContext();
css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(