diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-02-12 13:23:49 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-02-12 13:23:49 +0000 |
commit | 7748a676e4e1bc79d00d42df82346f7585fda048 (patch) | |
tree | 6c175e139767093eccb2459fd790ac3bd4bc71c8 /sc/inc/markarr.hxx | |
parent | 8439aa582399866813175780405b85e7470ec678 (diff) |
INTEGRATION: CWS calccolumns (1.4.632); FILE MERGED
2008/01/28 10:30:26 nn 1.4.632.1: #i31612# save performance with increased column count
Diffstat (limited to 'sc/inc/markarr.hxx')
-rw-r--r-- | sc/inc/markarr.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/inc/markarr.hxx b/sc/inc/markarr.hxx index a256c2eb8059..6e6513bd022d 100644 --- a/sc/inc/markarr.hxx +++ b/sc/inc/markarr.hxx @@ -4,9 +4,9 @@ * * $RCSfile: markarr.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2005-09-08 17:44:22 $ + * last change: $Author: vg $ $Date: 2008-02-12 14:23:49 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -69,7 +69,9 @@ public: void SetMarkArea( SCROW nStartRow, SCROW nEndRow, BOOL bMarked ); BOOL IsAllMarked( SCROW nStartRow, SCROW nEndRow ) const; BOOL HasOneMark( SCROW& rStartRow, SCROW& rEndRow ) const; - BOOL HasMarks() const; + + BOOL HasMarks() const { return ( nCount > 1 || ( nCount == 1 && pData[0].bMarked ) ); } + void CopyMarksTo( ScMarkArray& rDestMarkArray ) const; BOOL Search( SCROW nRow, SCSIZE& nIndex ) const; |