diff options
author | Eike Rathke <erack@redhat.com> | 2016-11-14 18:04:05 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-11-14 18:07:01 +0100 |
commit | ec0f1b060a9ebff717b823daab75222307a09887 (patch) | |
tree | 3e7fd1025603c7d4a001e568822ff459cc6f5227 /sc/inc/markarr.hxx | |
parent | Don't AlignToPixel in SwView::SetVisArea (diff) | |
download | core-ec0f1b060a9ebff717b823daab75222307a09887.tar.gz core-ec0f1b060a9ebff717b823daab75222307a09887.zip |
avoid reallocating if allocating once is enough
Change-Id: I30dbdd59304095c3a535af98217ddcb973ba0416
Diffstat (limited to 'sc/inc/markarr.hxx')
-rw-r--r-- | sc/inc/markarr.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/markarr.hxx b/sc/inc/markarr.hxx index 386b97adaa8a..0fd826cad395 100644 --- a/sc/inc/markarr.hxx +++ b/sc/inc/markarr.hxx @@ -43,7 +43,7 @@ public: ScMarkArray(); ScMarkArray( ScMarkArray&& rArray ); ~ScMarkArray(); - void Reset( bool bMarked = false ); + void Reset( bool bMarked = false, SCSIZE nNeeded = 1 ); bool GetMark( SCROW nRow ) const; void SetMarkArea( SCROW nStartRow, SCROW nEndRow, bool bMarked ); bool IsAllMarked( SCROW nStartRow, SCROW nEndRow ) const; |