diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-10-08 17:48:15 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-10-14 01:49:01 +0200 |
commit | 6250b856defa4d49469cb455c1eef53de02f623d (patch) | |
tree | 21818d7c490038b94ad639f4d1966dd9de0a025c /sc/source/ui/view | |
parent | 3b21902aa85df7631c9efb20dd408df005295b22 (diff) |
implement new more user friendly data provider dlg
This is still a work in progress.
Change-Id: I1e68c86acc810eec068b1f184b2307c51d9b58df
Reviewed-on: https://gerrit.libreoffice.org/43259
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/cellsh2.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index ff98bff748b2..6cc144191db4 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -783,10 +783,12 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq ) break; case SID_DATA_PROVIDER: { - ScopedVclPtrInstance< sc::DataProviderDlg > aDialog( GetViewData()->GetDocShell(), pTabViewShell->GetDialogParent() ); + std::shared_ptr<ScDocument> pDoc = std::make_shared<ScDocument>(); + pDoc->InsertTab(0, "test"); + ScopedVclPtrInstance< ScDataProviderDlg > aDialog( pTabViewShell->GetDialogParent(), pDoc); if (aDialog->Execute() == RET_OK) { - aDialog->StartImport(); + // handle the import here } } break; |