summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-11-01 14:07:09 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-11-01 16:30:04 -0400
commitcf0a88962f5c7835d417fb272e4792fb921139af (patch)
tree90ec3de48a677a68d2c7aaf49485b33f09f67754 /sc/source/ui/unoobj
parentf3c09cc3c41e7ec1faf9dfef269a99a8ef7d5838 (diff)
Double allocation switch no longer used since we switched to std::vector...
for cell storage in column. And std::vector internally does double allocation. Change-Id: I4363e7593def3feb71100487c7f88c05797596e7
Diffstat (limited to 'sc/source/ui/unoobj')
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index a5752a70cb5c..f74dfdcfdf0e 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -1192,11 +1192,6 @@ static sal_Bool lcl_PutDataArray( ScDocShell& rDocShell, const ScRange& rRange,
pDoc->DeleteAreaTab( nStartCol, nStartRow, nEndCol, nEndRow, nTab, IDF_CONTENTS );
- /* #164410# Use double allocation, which will speed up import filters
- using XCellRangeData::setDataArray() significantly. */
- bool bDoubleAlloc = ScColumn::bDoubleAlloc;
- ScColumn::bDoubleAlloc = true;
-
sal_Bool bError = false;
SCROW nDocRow = nStartRow;
for (long nRow=0; nRow<nRows; nRow++)
@@ -1247,7 +1242,6 @@ static sal_Bool lcl_PutDataArray( ScDocShell& rDocShell, const ScRange& rRange,
++nDocRow;
}
- ScColumn::bDoubleAlloc = bDoubleAlloc;
sal_Bool bHeight = rDocShell.AdjustRowHeight( nStartRow, nEndRow, nTab );