summaryrefslogtreecommitdiff
path: root/sc/inc/markarr.hxx
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-17 13:20:22 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-17 13:20:22 +0100
commitcd42389ad67b403a07a0dda8e2a6e213def49251 (patch)
tree51e19c743788a549502b7c801c64e11142103310 /sc/inc/markarr.hxx
parent3d6a5a98cda10e18dacd96028f2bf0ec0b478988 (diff)
removetooltypes01: #i112600# remove tooltypes from sc
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 78bb2a6bba3d..46352e5b6ee0 100644
--- a/sc/inc/markarr.hxx
+++ b/sc/inc/markarr.hxx
@@ -36,7 +36,7 @@
struct ScMarkEntry
{
SCROW nRow;
- BOOL bMarked;
+ sal_Bool bMarked;
};
class ScMarkArray
@@ -51,22 +51,22 @@ friend class ScDocument; // fuer FillInfo
public:
ScMarkArray();
~ScMarkArray();
- 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;
+ void Reset( sal_Bool bMarked = sal_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;
- BOOL HasMarks() const { return ( nCount > 1 || ( nCount == 1 && pData[0].bMarked ) ); }
+ sal_Bool HasMarks() const { return ( nCount > 1 || ( nCount == 1 && pData[0].bMarked ) ); }
void CopyMarksTo( ScMarkArray& rDestMarkArray ) const;
- BOOL Search( SCROW nRow, SCSIZE& nIndex ) const;
+ sal_Bool Search( SCROW nRow, SCSIZE& nIndex ) const;
//UNUSED2009-05 void DeleteArea(SCROW nStartRow, SCROW nEndRow);
/// Including current row, may return -1 if bUp and not found
- SCsROW GetNextMarked( SCsROW nRow, BOOL bUp ) const;
- SCROW GetMarkEnd( SCROW nRow, BOOL bUp ) const;
+ SCsROW GetNextMarked( SCsROW nRow, sal_Bool bUp ) const;
+ SCROW GetMarkEnd( SCROW nRow, sal_Bool bUp ) const;
};
@@ -78,7 +78,7 @@ public:
ScMarkArrayIter( const ScMarkArray* pNewArray );
~ScMarkArrayIter();
- BOOL Next( SCROW& rTop, SCROW& rBottom );
+ sal_Bool Next( SCROW& rTop, SCROW& rBottom );
};