From ca120667c3855fbfc1e3579d4cf4ed0e3b93770a Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Mon, 4 Sep 2023 12:06:06 +0200 Subject: xmloff: rename m_aObject in XMLThemeContext and clarify MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- xmloff/inc/XMLThemeContext.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xmloff/inc') 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 m_xObject; + // Any UNO object that has the "Theme" property - usually XPage (master page) or XModel + css::uno::Reference m_xObjectWithThemeProperty; std::shared_ptr mpTheme; public: XMLThemeContext(SvXMLImport& rImport, css::uno::Reference const& xAttrList, - css::uno::Reference const& xObject); + css::uno::Reference const& xObjectWithThemeProperty); ~XMLThemeContext(); css::uno::Reference SAL_CALL createFastChildContext( -- cgit