summaryrefslogtreecommitdiff
path: root/sc/inc/bigrange.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-01-17 12:04:53 +0200
committerNoel Grandin <noel@peralex.com>2014-01-17 13:43:51 +0200
commitd930faddc9e8c5d3ec933b423aa0fe8fc74060f9 (patch)
tree5e93fa218f51cd6f291c12c4bbce75a1450827c6 /sc/inc/bigrange.hxx
parent300c8917dca86fc84ae0343598bf27a32d7e1a88 (diff)
sal_Bool->bool
Change-Id: Id38995252172df650e995504d929e265c023d2bc
Diffstat (limited to 'sc/inc/bigrange.hxx')
-rw-r--r--sc/inc/bigrange.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/inc/bigrange.hxx b/sc/inc/bigrange.hxx
index 89fb675c6977..4f1a2341a7a5 100644
--- a/sc/inc/bigrange.hxx
+++ b/sc/inc/bigrange.hxx
@@ -180,15 +180,15 @@ public:
{ aStart.GetVars( nCol1, nRow1, nTab1 );
aEnd.GetVars( nCol2, nRow2, nTab2 ); }
- sal_Bool IsValid( const ScDocument* pDoc ) const
+ bool IsValid( const ScDocument* pDoc ) const
{ return aStart.IsValid( pDoc ) && aEnd.IsValid( pDoc ); }
inline ScRange MakeRange() const
{ return ScRange( aStart.MakeAddress(),
aEnd.MakeAddress() ); }
- inline sal_Bool In( const ScBigAddress& ) const; ///< is Address& in range?
- inline sal_Bool In( const ScBigRange& ) const; ///< is Range& in range?
- inline sal_Bool Intersects( const ScBigRange& ) const; ///< do two ranges overlap?
+ inline bool In( const ScBigAddress& ) const; ///< is Address& in range?
+ inline bool In( const ScBigRange& ) const; ///< is Range& in range?
+ inline bool Intersects( const ScBigRange& ) const; ///< do two ranges overlap?
ScBigRange& operator=( const ScBigRange& r )
{ aStart = r.aStart; aEnd = r.aEnd; return *this; }
@@ -202,7 +202,7 @@ public:
};
-inline sal_Bool ScBigRange::In( const ScBigAddress& rAddr ) const
+inline bool ScBigRange::In( const ScBigAddress& rAddr ) const
{
return
aStart.Col() <= rAddr.Col() && rAddr.Col() <= aEnd.Col() &&
@@ -211,7 +211,7 @@ inline sal_Bool ScBigRange::In( const ScBigAddress& rAddr ) const
}
-inline sal_Bool ScBigRange::In( const ScBigRange& r ) const
+inline bool ScBigRange::In( const ScBigRange& r ) const
{
return
aStart.Col() <= r.aStart.Col() && r.aEnd.Col() <= aEnd.Col() &&
@@ -220,7 +220,7 @@ inline sal_Bool ScBigRange::In( const ScBigRange& r ) const
}
-inline sal_Bool ScBigRange::Intersects( const ScBigRange& r ) const
+inline bool ScBigRange::Intersects( const ScBigRange& r ) const
{
return !(
std::min( aEnd.Col(), r.aEnd.Col() ) < std::max( aStart.Col(), r.aStart.Col() )