summaryrefslogtreecommitdiff
path: root/sc/inc/markarr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-12 09:57:18 +0200
committerNoel Grandin <noel@peralex.com>2014-02-14 14:14:59 +0200
commite0c9266f5ca7823bbe7dc8a90ee705fbd71addd0 (patch)
tree8f7af130a0aee199beffa4c4d8e48a17a272cd5d /sc/inc/markarr.hxx
parent7574a78be2cb605b39ab7318e588660c27f63440 (diff)
sal_Bool->bool
Change-Id: I7b48eab9d76d5909080a615f0ad04cdfbda77d26
Diffstat (limited to 'sc/inc/markarr.hxx')
-rw-r--r--sc/inc/markarr.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/sc/inc/markarr.hxx b/sc/inc/markarr.hxx
index d8a6710f058d..4ac531d24504 100644
--- a/sc/inc/markarr.hxx
+++ b/sc/inc/markarr.hxx
@@ -28,7 +28,7 @@
struct ScMarkEntry
{
SCROW nRow;
- sal_Bool bMarked;
+ bool bMarked;
};
class ScMarkArray
@@ -43,21 +43,21 @@ friend class ScDocument; // for FillInfo
public:
ScMarkArray();
~ScMarkArray();
- void Reset( sal_Bool bMarked = false );
- sal_Bool GetMark( SCROW nRow ) const;
- void SetMarkArea( SCROW nStartRow, SCROW nEndRow, sal_Bool bMarked );
- sal_Bool IsAllMarked( SCROW nStartRow, SCROW nEndRow ) const;
- sal_Bool HasOneMark( SCROW& rStartRow, SCROW& rEndRow ) const;
+ void Reset( bool bMarked = false );
+ bool GetMark( SCROW nRow ) const;
+ void SetMarkArea( SCROW nStartRow, SCROW nEndRow, bool bMarked );
+ bool IsAllMarked( SCROW nStartRow, SCROW nEndRow ) const;
+ bool HasOneMark( SCROW& rStartRow, SCROW& rEndRow ) const;
- sal_Bool HasMarks() const { return ( nCount > 1 || ( nCount == 1 && pData[0].bMarked ) ); }
+ bool HasMarks() const { return ( nCount > 1 || ( nCount == 1 && pData[0].bMarked ) ); }
void CopyMarksTo( ScMarkArray& rDestMarkArray ) const;
- sal_Bool Search( SCROW nRow, SCSIZE& nIndex ) const;
+ bool Search( SCROW nRow, SCSIZE& nIndex ) const;
/// Including current row, may return -1 if bUp and not found
- SCsROW GetNextMarked( SCsROW nRow, sal_Bool bUp ) const;
- SCROW GetMarkEnd( SCROW nRow, sal_Bool bUp ) const;
+ SCsROW GetNextMarked( SCsROW nRow, bool bUp ) const;
+ SCROW GetMarkEnd( SCROW nRow, bool bUp ) const;
};
@@ -69,7 +69,7 @@ public:
ScMarkArrayIter( const ScMarkArray* pNewArray );
~ScMarkArrayIter();
- sal_Bool Next( SCROW& rTop, SCROW& rBottom );
+ bool Next( SCROW& rTop, SCROW& rBottom );
};