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