From 9747d9a6ea954dfca4152d36fdb28a8b77fec84b Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Thu, 25 May 2023 13:15:41 +0900 Subject: xmloff: rename theme color names and color-table to theme-colors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For ODF it's not needed to abbreviate names and we prefer to use full names. The theme color names in OOXML are abbreviated and the same names were used also for ODF - this was changed now. "color-table" used in "theme" element has reused the already existing "color-table" element name in ODF, but they don't relate to each other. The name was changed to "theme-colors", which makes more sense anyway. Change-Id: I61ec91895d301ad4343f2b977d5cbcf38e360b99 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152252 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- xmloff/inc/XMLThemeContext.hxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'xmloff/inc') diff --git a/xmloff/inc/XMLThemeContext.hxx b/xmloff/inc/XMLThemeContext.hxx index a270d58bec99..ce6f5ec9bbb6 100644 --- a/xmloff/inc/XMLThemeContext.hxx +++ b/xmloff/inc/XMLThemeContext.hxx @@ -38,18 +38,18 @@ public: const css::uno::Reference& xAttribs) override; }; -/// Imports the color table of a theme -class XMLColorTableContext : public SvXMLImportContext +/// Imports the theme colors of a theme +class XMLThemeColorsContext : public SvXMLImportContext { model::Theme& mrTheme; std::shared_ptr m_pColorSet; std::vector m_aColorScheme; public: - XMLColorTableContext(SvXMLImport& rImport, - css::uno::Reference const& xAttrList, - model::Theme& mrTheme); - ~XMLColorTableContext(); + XMLThemeColorsContext(SvXMLImport& rImport, + css::uno::Reference const& xAttrList, + model::Theme& mrTheme); + ~XMLThemeColorsContext(); css::uno::Reference SAL_CALL createFastChildContext( sal_Int32 nElement, -- cgit