[Libreoffice-commits] core.git: sw/inc
Stephan Bergmann
sbergman at redhat.com
Fri Jan 24 04:37:43 PST 2014
sw/inc/swrect.hxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 71f7f3eaff9fd69e8b754878cc5363c55d95de59
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jan 24 13:37:02 2014 +0100
bool improvements
Change-Id: I6798bcb995cf68f4a7121b0cfe3712a3564584ea
diff --git a/sw/inc/swrect.hxx b/sw/inc/swrect.hxx
index 6ac301c..751767c 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);
}
More information about the Libreoffice-commits
mailing list