summaryrefslogtreecommitdiff
path: root/sw/inc/swrect.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-24 13:37:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-24 13:37:13 +0100
commit71f7f3eaff9fd69e8b754878cc5363c55d95de59 (patch)
treec7149da3a37b8ca32230aae65cda662cf1ae267e /sw/inc/swrect.hxx
parent15a0b755501273ce1d1be4da567eaed5a468bf75 (diff)
bool improvements
Change-Id: I6798bcb995cf68f4a7121b0cfe3712a3564584ea
Diffstat (limited to 'sw/inc/swrect.hxx')
-rw-r--r--sw/inc/swrect.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/swrect.hxx b/sw/inc/swrect.hxx
index 6ac301ca5391..751767c39a76 100644
--- a/sw/inc/swrect.hxx
+++ b/sw/inc/swrect.hxx
@@ -90,8 +90,8 @@ public:
inline SwRect &operator = ( const SwRect &rRect );
- inline sal_Bool operator == ( const SwRect& rRect ) const;
- inline sal_Bool operator != ( const SwRect& rRect ) const;
+ inline bool operator == ( const SwRect& rRect ) const;
+ inline bool operator != ( const SwRect& rRect ) const;
inline SwRect &operator+=( const Point &rPt );
inline SwRect &operator-=( const Point &rPt );
@@ -254,11 +254,11 @@ inline SwRect &SwRect::operator = ( const SwRect &rRect )
m_Size = rRect.m_Size;
return *this;
}
-inline sal_Bool SwRect::operator == ( const SwRect& rRect ) const
+inline bool SwRect::operator == ( const SwRect& rRect ) const
{
return (m_Point == rRect.m_Point && m_Size == rRect.m_Size);
}
-inline sal_Bool SwRect::operator != ( const SwRect& rRect ) const
+inline bool SwRect::operator != ( const SwRect& rRect ) const
{
return (m_Point != rRect.m_Point || m_Size != rRect.m_Size);
}