diff options
Diffstat (limited to 'ucb/source/ucp/cmis/cmis_provider.cxx')
-rw-r--r-- | ucb/source/ucp/cmis/cmis_provider.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/cmis/cmis_provider.cxx b/ucb/source/ucp/cmis/cmis_provider.cxx index bb84412bb97e..ded4483ecdfd 100644 --- a/ucb/source/ucp/cmis/cmis_provider.cxx +++ b/ucb/source/ucp/cmis/cmis_provider.cxx @@ -137,7 +137,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* ucb_cmis_ContentProvider_get_implementation( css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any> const&) { - return cppu::acquire(static_cast<cppu::OWeakObject*>(new cmis::ContentProvider(context))); + return cppu::acquire(new cmis::ContentProvider(context)); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |