diff options
Diffstat (limited to 'ucb/source/ucp/hierarchy/hierarchydatasource.cxx')
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchydatasource.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/hierarchy/hierarchydatasource.cxx b/ucb/source/ucp/hierarchy/hierarchydatasource.cxx index 04162051b46e..cfd4c5e500e5 100644 --- a/ucb/source/ucp/hierarchy/hierarchydatasource.cxx +++ b/ucb/source/ucp/hierarchy/hierarchydatasource.cxx @@ -212,7 +212,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* ucb_HierarchyDataSource_get_implementation( css::uno::XComponentContext* context , css::uno::Sequence<css::uno::Any> const&) { - return cppu::acquire(static_cast<cppu::OWeakObject*>(new HierarchyDataSource(context))); + return cppu::acquire(new HierarchyDataSource(context)); } |