summaryrefslogtreecommitdiff
path: root/configmgr/source/update.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/update.cxx')
-rw-r--r--configmgr/source/update.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/update.cxx b/configmgr/source/update.cxx
index 8da48fce43f7..1cc2a06fe2a2 100644
--- a/configmgr/source/update.cxx
+++ b/configmgr/source/update.cxx
@@ -144,7 +144,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
com_sun_star_comp_configuration_Update_get_implementation(
css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any> const& )
{
- return cppu::acquire(static_cast< cppu::OWeakObject * >(new configmgr::update::Service(context)));
+ return cppu::acquire(new configmgr::update::Service(context));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */