summaryrefslogtreecommitdiff
path: root/include/tools/svborder.hxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-06-29 23:57:38 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-06-30 04:58:49 +0000
commit710f41b7aec8e7d35a0da8be332aa289f98942af (patch)
treeb894ef2d3f06a63a85f423b2713a654ea57f9c69 /include/tools/svborder.hxx
parent1ca3beae12a7f222c987481e07a544845fc9fd46 (diff)
Clean String and sal_Bool in tools
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655 Reviewed-on: https://gerrit.libreoffice.org/4627 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'include/tools/svborder.hxx')
-rw-r--r--include/tools/svborder.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tools/svborder.hxx b/include/tools/svborder.hxx
index de4a8666cbd8..0fc87a9b7f0f 100644
--- a/include/tools/svborder.hxx
+++ b/include/tools/svborder.hxx
@@ -44,12 +44,12 @@ public:
nRight = nRightP;
nBottom = nBottomP;
}
- sal_Bool operator == ( const SvBorder & rObj ) const
+ bool operator == ( const SvBorder & rObj ) const
{
return nTop == rObj.nTop && nRight == rObj.nRight &&
nBottom == rObj.nBottom && nLeft == rObj.nLeft;
}
- sal_Bool operator != ( const SvBorder & rObj ) const
+ bool operator != ( const SvBorder & rObj ) const
{ return !(*this == rObj); }
SvBorder & operator = ( const SvBorder & rBorder )
{
@@ -75,7 +75,7 @@ public:
Bottom() -= rBorder.Bottom();
return *this;
}
- sal_Bool IsInside( const SvBorder & rInside )
+ bool IsInside( const SvBorder & rInside )
{
return nTop >= rInside.nTop && nRight >= rInside.nRight &&
nBottom >= rInside.nBottom && nLeft >= rInside.nLeft;