diff options
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx b/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx index 0b9252922160..84d59df3d378 100644 --- a/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx +++ b/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx @@ -109,7 +109,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* ucb_tdoc_DocumentContentFactory_get_implementation( css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any> const&) { - return cppu::acquire(static_cast<cppu::OWeakObject*>(new DocumentContentFactory(context))); + return cppu::acquire(new DocumentContentFactory(context)); } |