diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-01 15:52:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-02 09:54:48 +0100 |
commit | 7e80b63d8304d435d305ea61988eaf6cf9667886 (patch) | |
tree | 3332945f671ea07555c4b5d414f6d91fdf4ff6a3 /include | |
parent | 1bd9fcafe67cac9404c8c96553a262c048802c25 (diff) |
use more Color in SfxWatermarkItem
Change-Id: Ifbbce6509c02cf3d93d0500104af7c07c3216266
Reviewed-on: https://gerrit.libreoffice.org/50577
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/watermarkitem.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/sfx2/watermarkitem.hxx b/include/sfx2/watermarkitem.hxx index 43abdfeec081..448eb47990f8 100644 --- a/include/sfx2/watermarkitem.hxx +++ b/include/sfx2/watermarkitem.hxx @@ -11,6 +11,7 @@ #include <sfx2/dllapi.h> #include <svl/poolitem.hxx> +#include <tools/color.hxx> class SFX2_DLLPUBLIC SfxWatermarkItem: public SfxPoolItem { @@ -30,15 +31,15 @@ public: void SetAngle(const sal_Int16 nAngle) { m_nAngle = nAngle; } sal_Int16 GetTransparency() const { return m_nTransparency; } void SetTransparency(const sal_Int16 nTransparency) { m_nTransparency = nTransparency; } - sal_uInt32 GetColor() const { return m_nColor; } - void SetColor(const sal_uInt32 nColor) { m_nColor = nColor; } + Color GetColor() const { return m_nColor; } + void SetColor(Color nColor) { m_nColor = nColor; } private: OUString m_aText; OUString m_aFont; sal_Int16 m_nAngle; sal_Int16 m_nTransparency; - sal_uInt32 m_nColor; + Color m_nColor; }; #endif |