summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc/tdoc_provider.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_provider.cxx')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_provider.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_provider.cxx b/ucb/source/ucp/tdoc/tdoc_provider.cxx
index f9b5ba9010ee..d5fbb0b6ea2a 100644
--- a/ucb/source/ucp/tdoc/tdoc_provider.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_provider.cxx
@@ -141,7 +141,7 @@ ContentProvider::queryContent(
if ( !xContent.is() )
{
// Create a new content.
- xContent = Content::create( uno::Reference<lang::XMultiServiceFactory>(m_xContext->getServiceManager(), uno::UNO_QUERY_THROW), this, xCanonicId );
+ xContent = Content::create( m_xContext, this, xCanonicId );
registerNewContent( xContent );
}
@@ -182,7 +182,7 @@ ContentProvider::createDocumentContent(
if ( !xContent.is() )
{
// Create a new content.
- xContent = Content::create( uno::Reference<lang::XMultiServiceFactory>(m_xContext->getServiceManager(), uno::UNO_QUERY_THROW), this, xId );
+ xContent = Content::create( m_xContext, this, xId );
}
if ( xContent.is() )