summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/dataproviderdlg.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-10 00:56:48 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-10 18:53:37 +0200
commit95c25102aeefbc0082ba467755b91a483775e193 (patch)
tree09d4fcae9f0ab1f364f8c8fe6d827940b79fd0b0 /sc/source/ui/miscdlgs/dataproviderdlg.cxx
parent213a83ce46edf1b81f2285fd59f1d04935760caa (diff)
external data: move the copying to the document to ScDBDataManager
Change-Id: Ic97dcc6418176630ceb50c0c6010c848f2302b59 Reviewed-on: https://gerrit.libreoffice.org/40958 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/source/ui/miscdlgs/dataproviderdlg.cxx')
-rw-r--r--sc/source/ui/miscdlgs/dataproviderdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/miscdlgs/dataproviderdlg.cxx b/sc/source/ui/miscdlgs/dataproviderdlg.cxx
index ae0427217ed9..eaa830cde2c1 100644
--- a/sc/source/ui/miscdlgs/dataproviderdlg.cxx
+++ b/sc/source/ui/miscdlgs/dataproviderdlg.cxx
@@ -161,7 +161,7 @@ void DataProviderDlg::StartImport()
OUString aURL;
// TODO : replace those strings with something that is obtained from user
- ExternalDataSource aDataSource(aURL, "org.libreoffice.calc.csv");
+ ExternalDataSource aDataSource(aURL, "org.libreoffice.calc.csv", &mpDocShell->GetDocument());
//aDataSource.setDBData(pDBData);
mpDocShell->GetDocument().GetExternalDataMapper().insertDataSource(aDataSource);
}