summaryrefslogtreecommitdiff
path: root/sc/inc/attarray.hxx
diff options
context:
space:
mode:
authorSteve Yin <steve_y@apache.org>2014-01-03 08:48:02 +0000
committerSteve Yin <steve_y@apache.org>2014-01-03 08:48:02 +0000
commitacc76cb44c51fbefc8f34009300acb9382c3ad27 (patch)
tree648c78ee5b7b7e4292c9a91bb1cf3a1f158a0b82 /sc/inc/attarray.hxx
parent12d51cf294b62453c140a2db2b32aceb9dfb6ea8 (diff)
Bug 123909 - Select one column, paste cell range with merged cell in, AOO will be not responding
Notes
Notes: merged as: 6b8704d974abd4ab7fb58036a961fa0b7136aaa7
Diffstat (limited to 'sc/inc/attarray.hxx')
-rw-r--r--sc/inc/attarray.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/inc/attarray.hxx b/sc/inc/attarray.hxx
index c4914b230f0a..6771b7cd5cbd 100644
--- a/sc/inc/attarray.hxx
+++ b/sc/inc/attarray.hxx
@@ -188,6 +188,11 @@ public:
void DeleteHardAttr( SCROW nStartRow, SCROW nEndRow );
//UNUSED2008-05 void ConvertFontsAfterLoad(); // old binary file format
+
+ /* i123909: Pre-calculate needed memory, and pre-reserve enough memory */
+ bool Reserve( SCSIZE nCount );
+ SCSIZE Count() const{ return nCount; }
+ SCSIZE Count( SCROW nRw1, SCROW nRw2 );
};