diff options
author | Eike Rathke <er@openoffice.org> | 2001-11-05 18:16:23 +0000 |
---|---|---|
committer | Eike Rathke <er@openoffice.org> | 2001-11-05 18:16:23 +0000 |
commit | d2c9d50072d63d6d6708c55c27623ed44c9d1ec8 (patch) | |
tree | 37743fce52c2517ea5bc33c5e616b46d5991f528 /sc/inc/markarr.hxx | |
parent | 5ccdf8c45878c27474a69ec38071815cbd58109a (diff) |
#92553# performance: SetMarkArea: avoid unnecessary new/delete and data copies
Diffstat (limited to 'sc/inc/markarr.hxx')
-rw-r--r-- | sc/inc/markarr.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/inc/markarr.hxx b/sc/inc/markarr.hxx index 820a0b3a3a78..e35c0156f483 100644 --- a/sc/inc/markarr.hxx +++ b/sc/inc/markarr.hxx @@ -2,9 +2,9 @@ * * $RCSfile: markarr.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:44:49 $ + * last change: $Author: er $ $Date: 2001-11-05 19:16:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -66,6 +66,7 @@ #include <tools/solar.h> #endif +#define SC_MARKARRAY_DELTA 4 struct ScMarkEntry { @@ -76,6 +77,7 @@ struct ScMarkEntry class ScMarkArray { USHORT nCount; + USHORT nLimit; ScMarkEntry* pData; friend class ScMarkArrayIter; |