diff options
Diffstat (limited to 'configmgr/source/configurationprovider.cxx')
-rw-r--r-- | configmgr/source/configurationprovider.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/configurationprovider.cxx b/configmgr/source/configurationprovider.cxx index 856d6d7fbab2..f9936b6ba1a3 100644 --- a/configmgr/source/configurationprovider.cxx +++ b/configmgr/source/configurationprovider.cxx @@ -385,7 +385,7 @@ com_sun_star_comp_configuration_ConfigurationProvider_get_implementation( nullptr); } } - return cppu::acquire(static_cast< cppu::OWeakObject * >(new Service(Context, locale))); + return cppu::acquire(new Service(Context, locale)); } } |