diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-10-01 22:30:59 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-10-01 22:30:59 -0400 |
commit | 0cfa5a12cc75e95f26fb6d8b348045bf8ba9bdd1 (patch) | |
tree | 5a6f87bfd8c7e1972007f0882efd561d028c927e /sc/source/ui/inc/docsh.hxx | |
parent | 4e75e8379eed1c2c7ca1b97bab93dbda013bd55a (diff) |
Ported calc-perf-import-dbf-sc.diff from ooo-build
This speeds up import of dBase (dbf) files 4-5 times.
Diffstat (limited to 'sc/source/ui/inc/docsh.hxx')
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index 19147cfaf61f..bae92e1c0cad 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -68,6 +68,8 @@ class ScImportOptions; class ScDocShellModificator; class ScOptSolverSave; class ScSheetSaveData; +class ScFlatBoolRowSegments; +struct ScColWidthParam; namespace sfx2 { class FileDialogHelper; } struct DocShell_Impl; @@ -148,7 +150,7 @@ class SC_DLLPUBLIC ScDocShell: public SfxObjectShell, public SfxListener SC_DLLPRIVATE SCTAB GetSaveTab(); SC_DLLPRIVATE ULONG DBaseImport( const String& rFullFileName, CharSet eCharSet, - BOOL bSimpleColWidth[MAXCOLCOUNT] ); + ScColWidthParam aColWidthParam[MAXCOLCOUNT], ScFlatBoolRowSegments& rRowHeightsRecalc ); SC_DLLPRIVATE ULONG DBaseExport( const String& rFullFileName, CharSet eCharSet, BOOL& bHasMemo ); |