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/lwpsdwrect.cxx | |
parent | ca56379f27c53d4fa015d7adbb9494186f506de6 (diff) |
lotuswordpro: sal_Bool->bool
Change-Id: I017d284a2fbc8d50a9928c9d934ffe710b0c652f
Diffstat (limited to 'lotuswordpro/source/filter/lwpsdwrect.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpsdwrect.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwpsdwrect.cxx b/lotuswordpro/source/filter/lwpsdwrect.cxx index 221b4edbb74d..189ae3109b7c 100644 --- a/lotuswordpro/source/filter/lwpsdwrect.cxx +++ b/lotuswordpro/source/filter/lwpsdwrect.cxx @@ -68,7 +68,7 @@ * @date: 11/19/2004 * @short: Default constructor **************************************************************************/ -SdwRectangle::SdwRectangle() : m_bRotated(sal_False) +SdwRectangle::SdwRectangle() : m_bRotated(false) { for (sal_uInt16 i = 0; i < 4; i++) { @@ -81,7 +81,7 @@ SdwRectangle::SdwRectangle() : m_bRotated(sal_False) * @param: aPt0~aPt3 four corner points of a rectangle. **************************************************************************/ SdwRectangle::SdwRectangle(const Point& rPt0, const Point& rPt1, - const Point& rPt2, const Point& rPt3) : m_bRotated(sal_True) + const Point& rPt2, const Point& rPt3) : m_bRotated(true) { m_nRectCorner[0] = rPt0; m_nRectCorner[1] = rPt1; @@ -90,7 +90,7 @@ SdwRectangle::SdwRectangle(const Point& rPt0, const Point& rPt1, if (rPt0.Y() == rPt1.Y() && rPt0.Y() < rPt3.Y()) { - m_bRotated = sal_False; + m_bRotated = false; } } @@ -119,7 +119,7 @@ SdwRectangle::~SdwRectangle() * @short: Get the flag whether if the rectangle has been rotated. * @return: m_bRotated rotation flag. **************************************************************************/ -sal_Bool SdwRectangle::IsRectRotated() const +bool SdwRectangle::IsRectRotated() const { return m_bRotated; } |