summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/dbfunc.cxx
diff options
context:
space:
mode:
authorEike Rathke <er@openoffice.org>2002-08-08 12:05:31 +0000
committerEike Rathke <er@openoffice.org>2002-08-08 12:05:31 +0000
commit58e298c928404b0bd99c27cd406bd6e3c9279687 (patch)
tree2b89def39fb13bbdf4e238e7d1f2e3b1da9bc786 /sc/source/ui/view/dbfunc.cxx
parent15929a98b98f0de8bc497d0e110b89e2ab48b578 (diff)
#101692# in DB import use result set if available
Diffstat (limited to 'sc/source/ui/view/dbfunc.cxx')
-rw-r--r--sc/source/ui/view/dbfunc.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/sc/source/ui/view/dbfunc.cxx b/sc/source/ui/view/dbfunc.cxx
index 25979495387a..a88a6245669a 100644
--- a/sc/source/ui/view/dbfunc.cxx
+++ b/sc/source/ui/view/dbfunc.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dbfunc.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: sab $ $Date: 2001-02-14 15:34:07 $
+ * last change: $Author: er $ $Date: 2002-08-08 13:05:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -72,6 +72,8 @@
#include <sfx2/bindings.hxx>
#include <vcl/msgbox.hxx>
+#include <com/sun/star/sdbc/XResultSet.hpp>
+
#include "dbfunc.hxx"
#include "docsh.hxx"
#include "attrib.hxx"
@@ -443,7 +445,8 @@ BOOL ScDBFunc::ImportData( const ScImportParam& rParam, BOOL bRecord )
}
ScDBDocFunc aDBDocFunc( *GetViewData()->GetDocShell() );
- return aDBDocFunc.DoImport( GetViewData()->GetTabNo(), rParam, NULL, bRecord );
+ ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > xResultSet;
+ return aDBDocFunc.DoImport( GetViewData()->GetTabNo(), rParam, xResultSet, NULL, bRecord );
}