summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/calc/CConnection.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-05-21 16:22:38 +0200
committerNoel Grandin <noel@peralex.com>2013-05-22 15:20:03 +0200
commit7298a2b0c721004b09a0fd3c7e287d655f42286b (patch)
treef897e317791f3946845e8cea6145ac2683de5993 /connectivity/source/drivers/calc/CConnection.cxx
parent8c249489120c9ef0a25436d16c38cbe3756adff1 (diff)
fdo#46808, Convert XMultiServiceFactory to XComponentContext
Change-Id: I3a74d4edaa3ff3c2498c3db2720b0e4e5305c2e4
Diffstat (limited to 'connectivity/source/drivers/calc/CConnection.cxx')
-rw-r--r--connectivity/source/drivers/calc/CConnection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/calc/CConnection.cxx b/connectivity/source/drivers/calc/CConnection.cxx
index bae573fcaf28..04e6cd3555cc 100644
--- a/connectivity/source/drivers/calc/CConnection.cxx
+++ b/connectivity/source/drivers/calc/CConnection.cxx
@@ -128,7 +128,7 @@ Reference< XSpreadsheetDocument> OCalcConnection::acquireDoc()
aArgs[nPos].Value <<= m_sPassword;
}
- Reference< XDesktop2 > xDesktop = Desktop::create( comphelper::getComponentContext(getDriver()->getFactory()) );
+ Reference< XDesktop2 > xDesktop = Desktop::create( getDriver()->getComponentContext() );
Reference< XComponent > xComponent;
Any aLoaderException;
try