diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-07 08:42:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-07 08:35:04 +0100 |
commit | a498b12dc1723b072a165f8c528c377024fd4c98 (patch) | |
tree | c52b7d01cd95176d345b4ad0bf417edc4c499d26 /forms/source/inc | |
parent | 073b4eadd2a9a00b915c664df90b15d5b2d709c0 (diff) |
use more Color in editeng..forms
Change-Id: If6c862e7bb61cd78c3379afde11b528a74162900
Reviewed-on: https://gerrit.libreoffice.org/50860
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms/source/inc')
-rw-r--r-- | forms/source/inc/formcontrolfont.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/forms/source/inc/formcontrolfont.hxx b/forms/source/inc/formcontrolfont.hxx index 67135d041a7f..5e4a49aae5a8 100644 --- a/forms/source/inc/formcontrolfont.hxx +++ b/forms/source/inc/formcontrolfont.hxx @@ -24,6 +24,7 @@ #include <com/sun/star/awt/FontDescriptor.hpp> #include <com/sun/star/beans/Property.hpp> #include <com/sun/star/lang/IllegalArgumentException.hpp> +#include <tools/color.hxx> namespace cppu { class OPropertySetHelper; @@ -50,15 +51,15 @@ namespace frm const css::awt::FontDescriptor& getFont() const { return m_aFont; } void setFont( const css::awt::FontDescriptor& _rFont ) { m_aFont = _rFont; } - void setTextColor( sal_Int32 _nColor ) { m_aTextColor <<= _nColor; } + void setTextColor( Color _nColor ) { m_aTextColor <<= _nColor; } void clearTextColor( ) { m_aTextColor.clear(); } bool hasTextColor( ) const { return m_aTextColor.hasValue(); } - sal_Int32 getTextColor( ) const; + Color getTextColor( ) const; - void setTextLineColor( sal_Int32 _nColor ) { m_aTextLineColor <<= _nColor; } + void setTextLineColor( Color _nColor ) { m_aTextLineColor <<= _nColor; } void clearTextLineColor( ) { m_aTextLineColor.clear(); } bool hasTextLineColor( ) const { return m_aTextLineColor.hasValue(); } - sal_Int32 getTextLineColor( ) const; + Color getTextLineColor( ) const; protected: FontControlModel( bool _bToolkitCompatibleDefaults ); |