summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/DriverSettings.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-01-04 09:12:44 +0200
committerNoel Grandin <noel@peralex.com>2013-01-09 08:08:14 +0200
commitfd5a2eb07011e8aedfd5ef0a82edaf07221554ba (patch)
treecae1b578b1f5a3faea88499274c23303401a9439 /dbaccess/source/ui/dlg/DriverSettings.cxx
parent3a50e97499d0c1ff6307dcfe9883aea1af300947 (diff)
fdo#46808, new method OConfigurationTreeRoot::createWithComponentContext
and use it to replace usage of createWithServiceFactory, and thus replace usage of XMultiServiceFactory. Change-Id: Id2f44066683ce17cf7a22f80916031556ef0e82a
Diffstat (limited to 'dbaccess/source/ui/dlg/DriverSettings.cxx')
-rw-r--r--dbaccess/source/ui/dlg/DriverSettings.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/DriverSettings.cxx b/dbaccess/source/ui/dlg/DriverSettings.cxx
index 4291c686361e..1176326d0dc5 100644
--- a/dbaccess/source/ui/dlg/DriverSettings.cxx
+++ b/dbaccess/source/ui/dlg/DriverSettings.cxx
@@ -30,7 +30,7 @@ using ::com::sun::star::uno::Sequence;
using ::com::sun::star::beans::NamedValue;
using namespace dbaui;
-void ODriversSettings::getSupportedIndirectSettings( const ::rtl::OUString& _sURLPrefix,const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _xFactory, ::std::vector< sal_Int32>& _out_rDetailsIds )
+void ODriversSettings::getSupportedIndirectSettings( const ::rtl::OUString& _sURLPrefix,const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _xContext, ::std::vector< sal_Int32>& _out_rDetailsIds )
{
// for a number of settings, we do not need to use hard-coded here, but can ask a
// central DataSourceUI instance.
@@ -51,7 +51,7 @@ void ODriversSettings::getSupportedIndirectSettings( const ::rtl::OUString& _sUR
// The best approach would be to extend the FeatureSet to contain *all* known data source features, not only
// the ones from the "Advanced settings" UI.
- ::connectivity::DriversConfig aDriverConfig(_xFactory);
+ ::connectivity::DriversConfig aDriverConfig(_xContext);
const ::comphelper::NamedValueCollection& aProperties = aDriverConfig.getProperties(_sURLPrefix);
#if OSL_DEBUG_LEVEL > 0
{