diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-09-11 22:04:20 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-09-11 22:09:12 -0400 |
commit | ad7a6e525a487b9bf9dc768f3b85c0b9625e79fa (patch) | |
tree | c92f91bea085661f87dd22412ef4555518ded5e4 /sc/source/filter/excel/read.cxx | |
parent | 9581d5c59f5a9ff64329202590adf0b9fdf468a3 (diff) |
Use ScDocumentImport to populate cell storage during xls import.
Change-Id: I205c5b7c1202862ea7129fbd61d54e48cd37b06e
Diffstat (limited to 'sc/source/filter/excel/read.cxx')
-rw-r--r-- | sc/source/filter/excel/read.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/filter/excel/read.cxx b/sc/source/filter/excel/read.cxx index 01629f53930a..ae8924639d6e 100644 --- a/sc/source/filter/excel/read.cxx +++ b/sc/source/filter/excel/read.cxx @@ -34,6 +34,7 @@ #include "xiescher.hxx" #include "xipivot.hxx" #include "XclImpChangeTrack.hxx" +#include "documentimport.hxx" #include "root.hxx" #include "imp_op.hxx" @@ -747,6 +748,7 @@ FltError ImportExcel::Read( void ) { pProgress.reset(); + GetDocImport().finalize(); AdjustRowHeight(); PostDocLoad(); @@ -1284,7 +1286,8 @@ FltError ImportExcel8::Read( void ) if( GetBiff() == EXC_BIFF8 ) GetPivotTableManager().ConvertPivotTables(); - pD->RebuildFormulaGroups(); + ScDocumentImport& rDoc = GetDocImport(); + rDoc.finalize(); pProgress.reset(); #if 0 // Excel documents look much better without this call; better in the |