summaryrefslogtreecommitdiff
path: root/sc/source/ui/dataprovider/dataprovider.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-02-08 22:49:55 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-07-06 02:14:40 +0200
commit3f66d987ce3a46eb836f2c11bbaf360bd6195e27 (patch)
treed3a3992c97344b6e9015dd6d164a8471b4b47ff1 /sc/source/ui/dataprovider/dataprovider.cxx
parenteac72845f5c9aac0fb346b2d48cee697006c057b (diff)
add a selection for the DB range to Dataprovider dlg
Change-Id: I02c63b46e21cd8d04e6b515e2cbbee08743d5657 Reviewed-on: https://gerrit.libreoffice.org/49459 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/source/ui/dataprovider/dataprovider.cxx')
-rw-r--r--sc/source/ui/dataprovider/dataprovider.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/dataprovider/dataprovider.cxx b/sc/source/ui/dataprovider/dataprovider.cxx
index 161aaf502fa9..22a3be99475e 100644
--- a/sc/source/ui/dataprovider/dataprovider.cxx
+++ b/sc/source/ui/dataprovider/dataprovider.cxx
@@ -111,15 +111,15 @@ OUString ExternalDataSource::getDBName() const
return OUString();
}
-void ExternalDataSource::setDBData(const ScDBData* pDBData)
+void ExternalDataSource::setDBData(const OUString& rDBName)
{
if (!mpDBDataManager)
{
- mpDBDataManager.reset(new ScDBDataManager(pDBData->GetName(), false, mpDoc));
+ mpDBDataManager.reset(new ScDBDataManager(rDBName, false, mpDoc));
}
else
{
- mpDBDataManager->SetDatabase(pDBData->GetName());
+ mpDBDataManager->SetDatabase(rDBName);
}
}