summaryrefslogtreecommitdiff
path: root/include/svx/xcolit.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/xcolit.hxx')
-rw-r--r--include/svx/xcolit.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/svx/xcolit.hxx b/include/svx/xcolit.hxx
index 3ece0ef3b52b..965d10195146 100644
--- a/include/svx/xcolit.hxx
+++ b/include/svx/xcolit.hxx
@@ -22,7 +22,7 @@
#include <tools/color.hxx>
#include <editeng/colritem.hxx>
-#include <docmodel/theme/ThemeColor.hxx>
+#include <docmodel/color/ComplexColor.hxx>
#include <svx/svxdllapi.h>
#include <svx/xit.hxx>
@@ -32,7 +32,7 @@ class XColorList;
class SVXCORE_DLLPUBLIC XColorItem : public NameOrIndex
{
Color aColor;
- model::ThemeColor maThemeColor;
+ model::ComplexColor maComplexColor;
public:
static SfxPoolItem* CreateDefault();
@@ -50,8 +50,9 @@ public:
const Color& GetColorValue() const;
void SetColorValue(const Color& rNew) { aColor = rNew; Detach(); }
- model::ThemeColor& GetThemeColor() { return maThemeColor; }
- const model::ThemeColor& GetThemeColor() const { return maThemeColor; }
+ void setComplexColor(model::ComplexColor const& rComplexColor) { maComplexColor = rComplexColor; }
+ const model::ComplexColor& getComplexColor() const { return maComplexColor; }
+ model::ComplexColor& getComplexColor() { return maComplexColor; }
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};