summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/dbdocfun.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/dbdocfun.hxx')
-rw-r--r--sc/source/ui/inc/dbdocfun.hxx19
1 files changed, 7 insertions, 12 deletions
diff --git a/sc/source/ui/inc/dbdocfun.hxx b/sc/source/ui/inc/dbdocfun.hxx
index ac0ed5865437..83996ccb3517 100644
--- a/sc/source/ui/inc/dbdocfun.hxx
+++ b/sc/source/ui/inc/dbdocfun.hxx
@@ -41,7 +41,6 @@ struct ScSortParam;
struct ScSubTotalParam;
class SfxViewFrame;
-class SbaSelectionList;
class ScDBData;
class ScDocShell;
class ScAddress;
@@ -52,11 +51,12 @@ namespace com { namespace sun { namespace star {
namespace beans {
struct PropertyValue;
}
- namespace sdbc {
- class XResultSet;
- }
} } }
+namespace svx {
+ class ODataAccessDescriptor;
+}
+
class ScDBDocFunc
{
friend class ScDBFunc;
@@ -68,16 +68,11 @@ public:
ScDBDocFunc( ScDocShell& rDocSh ): rDocShell(rDocSh) {}
~ScDBDocFunc() {}
- void UpdateImport( const String& rTarget, const String& rDBName,
- const String& rTableName, const String& rStatement,
- bool bNative, sal_uInt8 nType,
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::sdbc::XResultSet >& xResultSet,
- const std::vector<sal_Int32> *pSelection );
+ void UpdateImport( const String& rTarget, const svx::ODataAccessDescriptor& rDescriptor );
bool DoImport( SCTAB nTab, const ScImportParam& rParam,
- const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet >& xResultSet,
- const std::vector<sal_Int32> *pSelection, bool bRecord,
+ const svx::ODataAccessDescriptor* pDescriptor, // used for selection and existing ResultSet
+ bool bRecord,
bool bAddrInsert = false );
bool DoImportUno( const ScAddress& rPos,