From 0cfa5a12cc75e95f26fb6d8b348045bf8ba9bdd1 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Fri, 1 Oct 2010 22:30:59 -0400 Subject: Ported calc-perf-import-dbf-sc.diff from ooo-build This speeds up import of dBase (dbf) files 4-5 times. --- sc/source/ui/inc/docsh.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sc/source/ui/inc/docsh.hxx') 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 ); -- cgit