summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-11-08 13:10:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-11-30 13:59:47 +0100
commit3d4288c1c0b593421c7f6619c88584bdb7c53337 (patch)
treef7f4e6e07007bed8c8b77758e61b61d9458cbc28 /ucb/source/ucp/tdoc/tdoc_datasupplier.cxx
parent2cf0f6ea36e1525193544258eef2828a54345510 (diff)
fdo#46808, remove some more XMultiServiceFactory fields
Change-Id: I8d039a933c9fde1a24b35954bb5a1f151e9aa160
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_datasupplier.cxx')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_datasupplier.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx b/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx
index 7bbccdaee6fd..65daafdcf784 100644
--- a/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx
@@ -73,17 +73,17 @@ struct DataSupplier_Impl
osl::Mutex m_aMutex;
ResultList m_aResults;
rtl::Reference< Content > m_xContent;
- uno::Reference< lang::XMultiServiceFactory > m_xSMgr;
+ uno::Reference< uno::XComponentContext > m_xContext;
uno::Sequence< rtl::OUString > * m_pNamesOfChildren;
sal_Int32 m_nOpenMode;
bool m_bCountFinal;
bool m_bThrowException;
DataSupplier_Impl(
- const uno::Reference< lang::XMultiServiceFactory >& rxSMgr,
+ const uno::Reference< uno::XComponentContext >& rxContext,
const rtl::Reference< Content >& rContent,
sal_Int32 nOpenMode )
- : m_xContent( rContent ), m_xSMgr( rxSMgr ),
+ : m_xContent( rContent ), m_xContext( rxContext ),
m_pNamesOfChildren( 0 ), m_nOpenMode( nOpenMode ),
m_bCountFinal( false ), m_bThrowException( false )
{}
@@ -116,10 +116,10 @@ DataSupplier_Impl::~DataSupplier_Impl()
//=========================================================================
ResultSetDataSupplier::ResultSetDataSupplier(
- const uno::Reference< lang::XMultiServiceFactory >& rxSMgr,
+ const uno::Reference< uno::XComponentContext >& rxContext,
const rtl::Reference< Content >& rContent,
sal_Int32 nOpenMode )
-: m_pImpl( new DataSupplier_Impl( rxSMgr, rContent, nOpenMode ) )
+: m_pImpl( new DataSupplier_Impl( rxContext, rContent, nOpenMode ) )
{
}
@@ -377,7 +377,7 @@ ResultSetDataSupplier::queryPropertyValues( sal_uInt32 nIndex )
if ( getResult( nIndex ) )
{
uno::Reference< sdbc::XRow > xRow = Content::getPropertyValues(
- m_pImpl->m_xSMgr,
+ m_pImpl->m_xContext,
getResultSet()->getProperties(),
m_pImpl->m_xContent->getContentProvider().get(),
queryContentIdentifierString( nIndex ) );