From e1cc0f3e7adc9d4c930a1c37bbe45c69dd3725ab Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Sat, 20 May 2023 14:51:49 +0900 Subject: xmloff: rename XMLThemeColorContext to XMLComplexColorContext MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I039aea6656cc8dedd74782f4fda8b0e1c25d3910 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152029 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- xmloff/inc/XMLComplexColorContext.hxx | 33 +++++++++++++++++++++++++++++++++ xmloff/inc/XMLThemeColorContext.hxx | 33 --------------------------------- 2 files changed, 33 insertions(+), 33 deletions(-) create mode 100644 xmloff/inc/XMLComplexColorContext.hxx delete mode 100644 xmloff/inc/XMLThemeColorContext.hxx (limited to 'xmloff/inc') diff --git a/xmloff/inc/XMLComplexColorContext.hxx b/xmloff/inc/XMLComplexColorContext.hxx new file mode 100644 index 000000000000..2d43da23fedd --- /dev/null +++ b/xmloff/inc/XMLComplexColorContext.hxx @@ -0,0 +1,33 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#pragma once + +#include +#include "XMLElementPropertyContext.hxx" +#include + +class XMLComplexColorContext final : public XMLElementPropertyContext +{ + model::ComplexColor maComplexColor; + sal_Int32 mnRootElement; + +public: + XMLComplexColorContext(SvXMLImport& rImport, sal_Int32 nElement, + const css::uno::Reference& xAttrList, + const XMLPropertyState& rProp, std::vector& rProps); + + css::uno::Reference SAL_CALL createFastChildContext( + sal_Int32 nElement, + const css::uno::Reference& AttrList) override; + + void SAL_CALL endFastElement(sal_Int32 nElement) override; +}; + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLThemeColorContext.hxx b/xmloff/inc/XMLThemeColorContext.hxx deleted file mode 100644 index 8bab725c44a6..000000000000 --- a/xmloff/inc/XMLThemeColorContext.hxx +++ /dev/null @@ -1,33 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - */ - -#pragma once - -#include -#include "XMLElementPropertyContext.hxx" -#include - -class XMLThemeColorContext final : public XMLElementPropertyContext -{ - model::ComplexColor maComplexColor; - sal_Int32 mnRootElement; - -public: - XMLThemeColorContext(SvXMLImport& rImport, sal_Int32 nElement, - const css::uno::Reference& xAttrList, - const XMLPropertyState& rProp, std::vector& rProps); - - css::uno::Reference SAL_CALL createFastChildContext( - sal_Int32 nElement, - const css::uno::Reference& AttrList) override; - - void SAL_CALL endFastElement(sal_Int32 nElement) override; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit