summaryrefslogtreecommitdiff
path: root/oox/source/export/ColorPropertySet.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-02 11:43:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-05 07:35:01 +0100
commit61d79dd740958186c4a4344e18eaeb5b2c139c91 (patch)
treeabea71a038352572871ea1fb2a9c40d2f196ddd6 /oox/source/export/ColorPropertySet.hxx
parent04c9cb68dffa2af15661cc35bc61032b036ed2cd (diff)
use more Color in oox
Change-Id: I8fdc6742de5af9101e246411e7208650bae2c4c7 Reviewed-on: https://gerrit.libreoffice.org/50617 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/export/ColorPropertySet.hxx')
-rw-r--r--oox/source/export/ColorPropertySet.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/oox/source/export/ColorPropertySet.hxx b/oox/source/export/ColorPropertySet.hxx
index 39bc41f22b6f..e1734422ac8c 100644
--- a/oox/source/export/ColorPropertySet.hxx
+++ b/oox/source/export/ColorPropertySet.hxx
@@ -23,6 +23,7 @@
// FIXME? this file is identical to xmloff/source/chart/ColorPropertySet.hxx
#include <cppuhelper/implbase.hxx>
+#include <tools/color.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
@@ -38,7 +39,7 @@ class ColorPropertySet : public ::cppu::WeakImplHelper<
{
public:
// if bFillColor == false, the color is a LineColor
- explicit ColorPropertySet( sal_Int32 nColor, bool bFillColor = true );
+ explicit ColorPropertySet( ::Color nColor, bool bFillColor = true );
virtual ~ColorPropertySet() override;
protected:
@@ -75,9 +76,9 @@ protected:
private:
css::uno::Reference< css::beans::XPropertySetInfo > m_xInfo;
OUString m_aColorPropName;
- sal_Int32 m_nColor;
+ ::Color m_nColor;
bool m_bIsFillColor;
- sal_Int32 m_nDefaultColor;
+ ::Color m_nDefaultColor;
};
} // namespace chart