summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/swdbtoolsclient.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/dbui/swdbtoolsclient.cxx')
-rw-r--r--sw/source/ui/dbui/swdbtoolsclient.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dbui/swdbtoolsclient.cxx b/sw/source/ui/dbui/swdbtoolsclient.cxx
index 4a80df154cd5..e18db2b4138a 100644
--- a/sw/source/ui/dbui/swdbtoolsclient.cxx
+++ b/sw/source/ui/dbui/swdbtoolsclient.cxx
@@ -186,13 +186,13 @@ void SwDbtoolsClient::getFactory()
Reference< XDataSource > SwDbtoolsClient::getDataSource(
const ::rtl::OUString& rRegisteredName,
- const Reference< XMultiServiceFactory>& xFactory
+ const Reference<XComponentContext>& rxContext
)
{
Reference< XDataSource > xRet;
::rtl::Reference< ::connectivity::simple::IDataAccessTools > xAccess = getDataAccessTools();
if(xAccess.is())
- xRet = xAccess->getDataSource(rRegisteredName, xFactory);
+ xRet = xAccess->getDataSource(rRegisteredName, rxContext);
return xRet;
}