diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2023-05-20 15:01:55 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2023-05-21 12:59:53 +0200 |
commit | 66fff7efab4dd1ff08b43ed6d2d557ecad578509 (patch) | |
tree | 05ef0bac5c5170a6eb987191d164c7390892734e /xmloff/source/text | |
parent | e1cc0f3e7adc9d4c930a1c37bbe45c69dd3725ab (diff) |
xmloff: rename XMLThemeColorExport to XMLComplexColorExport
Change-Id: I3d943f20e76b8f3e0409d307d11e3bf16489bf02
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152050
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'xmloff/source/text')
-rw-r--r-- | xmloff/source/text/XMLComplexColorExport.cxx (renamed from xmloff/source/text/XMLThemeColorExport.cxx) | 8 | ||||
-rw-r--r-- | xmloff/source/text/txtexppr.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/text/txtexppr.hxx | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/xmloff/source/text/XMLThemeColorExport.cxx b/xmloff/source/text/XMLComplexColorExport.cxx index 9a48faf63546..a118d12ba689 100644 --- a/xmloff/source/text/XMLThemeColorExport.cxx +++ b/xmloff/source/text/XMLComplexColorExport.cxx @@ -7,7 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <XMLThemeColorExport.hxx> +#include <XMLComplexColorExport.hxx> #include <sal/config.h> @@ -21,7 +21,7 @@ using namespace css; using namespace ::xmloff::token; -XMLThemeColorExport::XMLThemeColorExport(SvXMLExport& rExport) +XMLComplexColorExport::XMLComplexColorExport(SvXMLExport& rExport) : mrExport(rExport) { } @@ -34,8 +34,8 @@ constexpr const std::array<XMLTokenEnum, 12> constThemeColorTypeToToken{ }; } -void XMLThemeColorExport::exportXML(const uno::Any& rAny, sal_uInt16 nPrefix, - const OUString& rLocalName) +void XMLComplexColorExport::exportXML(const uno::Any& rAny, sal_uInt16 nPrefix, + const OUString& rLocalName) { uno::Reference<util::XComplexColor> xComplexColor; rAny >>= xComplexColor; diff --git a/xmloff/source/text/txtexppr.cxx b/xmloff/source/text/txtexppr.cxx index 67f742b69b46..f49084d9cbe7 100644 --- a/xmloff/source/text/txtexppr.cxx +++ b/xmloff/source/text/txtexppr.cxx @@ -73,7 +73,7 @@ void XMLTextExportPropertySetMapper::handleElementItem( break; case CTF_COMPLEX_COLOR: - pThis->maThemeColorExport.exportXML(rProperty.maValue, + pThis->maComplexColorExport.exportXML(rProperty.maValue, getPropertySetMapper()->GetEntryNameSpace(rProperty.mnIndex), getPropertySetMapper()->GetEntryXMLName(rProperty.mnIndex)); break; @@ -216,7 +216,7 @@ XMLTextExportPropertySetMapper::XMLTextExportPropertySetMapper( maDropCapExport( rExp ), maTabStopExport( rExp ), maTextColumnsExport( rExp ), - maThemeColorExport(rExp), + maComplexColorExport(rExp), maBackgroundImageExport( rExp ) { } diff --git a/xmloff/source/text/txtexppr.hxx b/xmloff/source/text/txtexppr.hxx index 878ca9a9389d..5a3d955e17d1 100644 --- a/xmloff/source/text/txtexppr.hxx +++ b/xmloff/source/text/txtexppr.hxx @@ -24,7 +24,7 @@ #include <xmltabe.hxx> #include <XMLTextColumnsExport.hxx> #include <XMLBackgroundImageExport.hxx> -#include <XMLThemeColorExport.hxx> +#include <XMLComplexColorExport.hxx> class SvXMLExport; class XMLTextExportPropertySetMapper: public SvXMLExportPropertyMapper @@ -53,7 +53,7 @@ private: XMLTextDropCapExport maDropCapExport; SvxXMLTabStopExport maTabStopExport; XMLTextColumnsExport maTextColumnsExport; - XMLThemeColorExport maThemeColorExport; + XMLComplexColorExport maComplexColorExport; XMLBackgroundImageExport maBackgroundImageExport; /** Application-specific filter. By default do nothing. */ |