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