diff options
Diffstat (limited to 'ucb/source/sorter/sortdynres.cxx')
-rw-r--r-- | ucb/source/sorter/sortdynres.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/sorter/sortdynres.cxx b/ucb/source/sorter/sortdynres.cxx index 437919e269da..5dc7694e107e 100644 --- a/ucb/source/sorter/sortdynres.cxx +++ b/ucb/source/sorter/sortdynres.cxx @@ -437,7 +437,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* ucb_SortedDynamicResultSetFactory_get_implementation( css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any> const&) { - return cppu::acquire(static_cast<cppu::OWeakObject*>(new SortedDynamicResultSetFactory(context))); + return cppu::acquire(new SortedDynamicResultSetFactory(context)); } // SortedDynamicResultSetFactory methods. |