From c9fb441c55d03f55877ed3bb2f5c39310d1ec44b Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Fri, 27 Jan 2023 08:41:16 +0900 Subject: move Theme class to own file inside docmodel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also move Theme from svx to model namespace so it is consistent with other classes in docmodel. Theme header also includes ThemeSupplementalFont, ThemeFont, FontScheme classes that are used by the Theme and were also moved to docmodel. These may be moved to its own file in the future when they are used in more places. Change-Id: Ic409bea8e5298adc2b039b529c4f7b01cf64f03e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146221 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- xmloff/source/draw/sdxmlexp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff') diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx index 7c336989496b..df0c7e45aa27 100644 --- a/xmloff/source/draw/sdxmlexp.cxx +++ b/xmloff/source/draw/sdxmlexp.cxx @@ -2428,7 +2428,7 @@ void SdXMLExport::ExportThemeElement(const uno::Reference& x }; for (size_t nColor = 0; nColor < aColors.size(); ++nColor) { - // Import goes via svx::Theme::FromAny(), which sanitizes user input. + // Import goes via model::Theme::FromAny(), which sanitizes user input. assert(nColor < SAL_N_ELEMENTS(aColorTokens)); AddAttribute(XML_NAMESPACE_LO_EXT, XML_NAME, GetXMLToken(aColorTokens[nColor])); -- cgit