diff options
Diffstat (limited to 'configmgr/source/readonlyaccess.cxx')
-rw-r--r-- | configmgr/source/readonlyaccess.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/readonlyaccess.cxx b/configmgr/source/readonlyaccess.cxx index f777395f31fe..286963c783a2 100644 --- a/configmgr/source/readonlyaccess.cxx +++ b/configmgr/source/readonlyaccess.cxx @@ -114,7 +114,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* com_sun_star_comp_configuration_ReadOnlyAccess_get_implementation( css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any> const&) { - return cppu::acquire(static_cast< cppu::OWeakObject * >(new configmgr::read_only_access::Service(context))); + return cppu::acquire(new configmgr::read_only_access::Service(context)); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |