summaryrefslogtreecommitdiff
path: root/sc/inc/markmulti.hxx
diff options
context:
space:
mode:
authorSerge Krot <Serge.Krot@cib.de>2018-10-04 15:20:05 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2018-10-05 10:40:54 +0200
commit724e92d6bfa9900e40546df5c05da44e9d33b856 (patch)
tree9dc909fef36c4958bd6535125528b205e2b022e8 /sc/inc/markmulti.hxx
parent3f3281868e7516d7535071a01fcde63ed3d73e7e (diff)
sc: Enhance binary search for ScMarkArray
Change-Id: I0fe6a0b8987fb3c3229c5aabcbf056cfb365650c Reviewed-on: https://gerrit.libreoffice.org/61373 Tested-by: Jenkins Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sc/inc/markmulti.hxx')
-rw-r--r--sc/inc/markmulti.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/markmulti.hxx b/sc/inc/markmulti.hxx
index a8482048a48b..ee92da37ce61 100644
--- a/sc/inc/markmulti.hxx
+++ b/sc/inc/markmulti.hxx
@@ -57,7 +57,7 @@ public:
void SetMarkArea( SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCROW nEndRow, bool bMark );
bool IsRowMarked( SCROW nRow ) const;
bool IsRowRangeMarked( SCROW nStartRow, SCROW nEndRow ) const;
- bool IsEmpty() const { return ( !aMultiSelContainer.size() && !aRowSel.HasMarks() ); }
+ bool IsEmpty() const { return ( aMultiSelContainer.empty() && !aRowSel.HasMarks() ); }
ScMarkArray GetMarkArray( SCCOL nCol ) const;
void Clear();
void MarkAllCols( SCROW nStartRow, SCROW nEndRow );