diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-22 14:14:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-23 11:11:50 +0200 |
commit | 2692047aacef7b4288f995ce6ff2db5e16b71014 (patch) | |
tree | 2d43552ad1a01cfb6287d54f35b5ae3ca538393b /lotuswordpro/source/filter/lwpcolor.hxx | |
parent | lingucomponent: sal_Bool->bool (diff) | |
download | core-2692047aacef7b4288f995ce6ff2db5e16b71014.tar.gz core-2692047aacef7b4288f995ce6ff2db5e16b71014.zip |
lotuswordpro: sal_Bool->bool
Change-Id: I017d284a2fbc8d50a9928c9d934ffe710b0c652f
Diffstat (limited to 'lotuswordpro/source/filter/lwpcolor.hxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpcolor.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwpcolor.hxx b/lotuswordpro/source/filter/lwpcolor.hxx index 9f58c1a62375..868f1d361d39 100644 --- a/lotuswordpro/source/filter/lwpcolor.hxx +++ b/lotuswordpro/source/filter/lwpcolor.hxx @@ -81,10 +81,10 @@ public: sal_uInt16 GetRed(); sal_uInt16 GetGreen(); sal_uInt16 GetBlue(); - sal_Bool IsValidColor(); + bool IsValidColor(); sal_uInt32 To24Color(); LwpColor& operator = (const LwpColor& rOther); - sal_Bool IsTransparent(); + bool IsTransparent(); private: sal_uInt16 m_nRed; // When extra is AGLRGB_INDEX, m_nRed holds the sal_uInt16 m_nGreen; // hi 16 bits and m_nGreen holds the lo 16 bits of @@ -118,11 +118,11 @@ inline sal_uInt16 LwpColor::GetBlue() { return m_nBlue; } -inline sal_Bool LwpColor::IsValidColor() +inline bool LwpColor::IsValidColor() { return ((m_nExtra!=AGLRGB_INVALID) && (m_nExtra!=AGLRGB_TRANSPARENT)); } -inline sal_Bool LwpColor::IsTransparent() +inline bool LwpColor::IsTransparent() { return (m_nExtra==AGLRGB_TRANSPARENT); } |