summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/odma/odma_provider.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/odma/odma_provider.cxx')
-rw-r--r--ucb/source/ucp/odma/odma_provider.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/odma/odma_provider.cxx b/ucb/source/ucp/odma/odma_provider.cxx
index 6fc74d923845..f9079981c259 100644
--- a/ucb/source/ucp/odma/odma_provider.cxx
+++ b/ucb/source/ucp/odma/odma_provider.cxx
@@ -246,7 +246,7 @@ uno::Reference< ucb::XContent > SAL_CALL ContentProvider::queryContent(
if(!aProp.is())
throw ucb::IllegalIdentifierException();
- xContent = new Content( m_xSMgr, this, xCanonicId ,aProp);
+ xContent = new Content( uno::Reference< lang::XMultiServiceFactory >(m_xContext->getServiceManager(), uno::UNO_QUERY_THROW), this, xCanonicId ,aProp);
registerNewContent( xContent );
if ( !xContent->getIdentifier().is() )