diff options
Diffstat (limited to 'include/editeng/colritem.hxx')
-rw-r--r-- | include/editeng/colritem.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/editeng/colritem.hxx b/include/editeng/colritem.hxx index d4090eb9e7eb..fc55b6e04553 100644 --- a/include/editeng/colritem.hxx +++ b/include/editeng/colritem.hxx @@ -39,6 +39,7 @@ public: explicit SvxColorItem(const sal_uInt16 nId); SvxColorItem(const Color& aColor, const sal_uInt16 nId); + SvxColorItem(const Color& aColor, model::ThemeColor const& rThemeColor, const sal_uInt16 nId); virtual ~SvxColorItem() override; // "pure virtual Methods" from SfxPoolItem @@ -63,6 +64,11 @@ public: const model::ThemeColor& GetThemeColor() const { return maThemeColor; } + void setThemeColor(model::ThemeColor const& rThemeColor) + { + maThemeColor = rThemeColor; + } + void dumpAsXml(xmlTextWriterPtr pWriter) const override; }; |