diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-11-05 18:03:23 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-11-05 18:05:00 +0100 |
commit | 6eec9d651d875d64d11b63c2c2070475a17f8ce1 (patch) | |
tree | 6db8841d15d66569b2311411e3df2f36e385cfcf /ucb/source | |
parent | 0666e43c45876199ddc71e378554878cca6f0539 (diff) |
fdo#46808: Adapt odma_provider to recent commit
Change-Id: I217f2732f7a2ddb4f0fee19b304b162a79a17351
Diffstat (limited to 'ucb/source')
-rw-r--r-- | ucb/source/ucp/odma/odma_provider.cxx | 6 | ||||
-rw-r--r-- | ucb/source/ucp/odma/odma_provider.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/odma/odma_provider.cxx b/ucb/source/ucp/odma/odma_provider.cxx index b4d4eb9bd1a6..6fc74d923845 100644 --- a/ucb/source/ucp/odma/odma_provider.cxx +++ b/ucb/source/ucp/odma/odma_provider.cxx @@ -46,8 +46,8 @@ using namespace odma; ODMHANDLE ContentProvider::m_aOdmHandle = NULL; ContentProvider::ContentProvider( - const uno::Reference< lang::XMultiServiceFactory >& rSMgr ) -: ::ucbhelper::ContentProviderImplHelper( rSMgr ) + const uno::Reference< uno::XComponentContext >& rContext ) +: ::ucbhelper::ContentProviderImplHelper( rContext ) { } @@ -139,7 +139,7 @@ XTYPEPROVIDER_IMPL_3( ContentProvider, // @@@ Adjust implementation name. Keep the prefix "com.sun.star.comp."! // @@@ Adjust service name. -XSERVICEINFO_IMPL_1( ContentProvider, +XSERVICEINFO_IMPL_1_CTX( ContentProvider, rtl::OUString( "com.sun.star.comp.odma.ContentProvider" ), rtl::OUString(ODMA_CONTENT_PROVIDER_SERVICE_NAME ) ); diff --git a/ucb/source/ucp/odma/odma_provider.hxx b/ucb/source/ucp/odma/odma_provider.hxx index 590e6b569d3c..4aa5285d599d 100644 --- a/ucb/source/ucp/odma/odma_provider.hxx +++ b/ucb/source/ucp/odma/odma_provider.hxx @@ -74,7 +74,7 @@ class ContentProvider : public ::ucbhelper::ContentProviderImplHelper const ContentPropertiesMemberFunctor& _aFunctor) const; public: ContentProvider( const ::com::sun::star::uno::Reference< - ::com::sun::star::lang::XMultiServiceFactory >& rSMgr ); + ::com::sun::star::uno::XComponentContext >& rContext ); virtual ~ContentProvider(); // XInterface |