diff options
Diffstat (limited to 'tools/inc/tools/svborder.hxx')
-rw-r--r-- | tools/inc/tools/svborder.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/inc/tools/svborder.hxx b/tools/inc/tools/svborder.hxx index a0509bcc89be..a525618a6c17 100644 --- a/tools/inc/tools/svborder.hxx +++ b/tools/inc/tools/svborder.hxx @@ -42,12 +42,12 @@ public: SvBorder( const Rectangle & rOuter, const Rectangle & rInner ); SvBorder( long nLeftP, long nTopP, long nRightP, long nBottomP ) { nLeft = nLeftP; nTop = nTopP; nRight = nRightP; nBottom = nBottomP; } - BOOL operator == ( const SvBorder & rObj ) const + sal_Bool operator == ( const SvBorder & rObj ) const { return nTop == rObj.nTop && nRight == rObj.nRight && nBottom == rObj.nBottom && nLeft == rObj.nLeft; } - BOOL operator != ( const SvBorder & rObj ) const + sal_Bool operator != ( const SvBorder & rObj ) const { return !(*this == rObj); } SvBorder & operator = ( const SvBorder & rBorder ) { @@ -73,7 +73,7 @@ public: Bottom() -= rBorder.Bottom(); return *this; } - BOOL IsInside( const SvBorder & rInside ) + sal_Bool IsInside( const SvBorder & rInside ) { return nTop >= rInside.nTop && nRight >= rInside.nRight && nBottom >= rInside.nBottom && nLeft >= rInside.nLeft; |