summaryrefslogtreecommitdiff
path: root/sw/inc/swcrsr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/swcrsr.hxx')
-rw-r--r--sw/inc/swcrsr.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/swcrsr.hxx b/sw/inc/swcrsr.hxx
index 2a1c5638cdab..30901f3b2b4e 100644
--- a/sw/inc/swcrsr.hxx
+++ b/sw/inc/swcrsr.hxx
@@ -270,7 +270,7 @@ class SwTableCursor : public virtual SwCursor
protected:
sal_uLong nTblPtNd, nTblMkNd;
xub_StrLen nTblPtCnt, nTblMkCnt;
- SwSelBoxes aSelBoxes;
+ SwSelBoxes m_SelectedBoxes;
sal_Bool bChg : 1;
sal_Bool bParked : 1; // Table-cursor was parked.
@@ -286,9 +286,9 @@ public:
virtual sal_Bool GotoTable( const String& rName );
void InsertBox( const SwTableBox& rTblBox );
- void DeleteBox( sal_uInt16 nPos ) { aSelBoxes.erase( aSelBoxes.begin() + nPos ); bChg = sal_True; }
- sal_uInt16 GetBoxesCount() const { return aSelBoxes.size(); }
- const SwSelBoxes& GetBoxes() const { return aSelBoxes; }
+ void DeleteBox(size_t nPos);
+ size_t GetSelectedBoxesCount() const { return m_SelectedBoxes.size(); }
+ const SwSelBoxes& GetSelectedBoxes() const { return m_SelectedBoxes; }
// Creates cursor for all boxes.
SwCursor* MakeBoxSels( SwCursor* pAktCrsr );