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
commit35b4001767eac8394cbb35a507cfa460e91974eb (patch)
treea4416372240948a9e686f3aecd0c8c50778c1c49 /sc/source/ui/view/dbfunc.cxx
parent24cf188bd22386b0c6765eb6cd38ce1128c859a9 (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 d94b72529..c879cf054 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 );
}