summaryrefslogtreecommitdiff
path: root/sc/inc/dbdocutl.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-10-01 22:30:59 -0400
committerKohei Yoshida <kyoshida@novell.com>2010-10-01 22:30:59 -0400
commit0cfa5a12cc75e95f26fb6d8b348045bf8ba9bdd1 (patch)
tree5a6f87bfd8c7e1972007f0882efd561d028c927e /sc/inc/dbdocutl.hxx
parent4e75e8379eed1c2c7ca1b97bab93dbda013bd55a (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/inc/dbdocutl.hxx')
-rw-r--r--sc/inc/dbdocutl.hxx12
1 files changed, 11 insertions, 1 deletions
diff --git a/sc/inc/dbdocutl.hxx b/sc/inc/dbdocutl.hxx
index 3071b542f4b6..384375152954 100644
--- a/sc/inc/dbdocutl.hxx
+++ b/sc/inc/dbdocutl.hxx
@@ -42,10 +42,20 @@ namespace com { namespace sun { namespace star { namespace sdbc {
class ScDatabaseDocUtil
{
public:
+ /**
+ * Detailed information on single string value.
+ */
+ struct StrData
+ {
+ bool mbSimpleText;
+ sal_uInt32 mnStrLength;
+
+ StrData();
+ };
static void PutData( ScDocument* pDoc, SCCOL nCol, SCROW nRow, SCTAB nTab,
const ::com::sun::star::uno::Reference<
::com::sun::star::sdbc::XRow>& xRow, long nRowPos,
- long nType, BOOL bCurrency, BOOL* pSimpleFlag = NULL );
+ long nType, BOOL bCurrency, StrData* pStrData = NULL );
};
#endif