summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/impex.cxx
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/docshell/impex.cxx
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/docshell/impex.cxx')
-rw-r--r--sc/source/ui/docshell/impex.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx
index f96663069816..b56e93776586 100644
--- a/sc/source/ui/docshell/impex.cxx
+++ b/sc/source/ui/docshell/impex.cxx
@@ -1273,8 +1273,6 @@ bool ScImportExport::ExtText2Doc( SvStream& rStrm )
rStrm.Seek( nOldPos );
rStrm.StartReadingUnicodeText( rStrm.GetStreamCharSet() );
- ScColumn::DoubleAllocSwitch aAllocSwitch(true);
-
SCCOL nStartCol = aRange.aStart.Col();
SCCOL nEndCol = aRange.aEnd.Col();
SCROW nStartRow = aRange.aStart.Row();