diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-25 13:32:04 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-25 06:37:42 +0000 |
commit | b8064bdf7fabdbfd2546830f6fb8f0de6b8d4329 (patch) | |
tree | cb8c8db34a096467cf81c6ae0649a00032bb4a7f /include/comphelper/configuration.hxx | |
parent | 1e84b23839d96068c862e746c9162db79d2c8c62 (diff) |
new loplugin: countusersofdefaultparams
Change-Id: I79e2c690f3e664c14af12cf763dd5a8ac20d6b04
Reviewed-on: https://gerrit.libreoffice.org/28353
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/comphelper/configuration.hxx')
-rw-r--r-- | include/comphelper/configuration.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/comphelper/configuration.hxx b/include/comphelper/configuration.hxx index 915d803b6f16..d2df43b4d880 100644 --- a/include/comphelper/configuration.hxx +++ b/include/comphelper/configuration.hxx @@ -245,9 +245,7 @@ template< typename T, typename U > struct ConfigurationLocalizedProperty /// com.sun.star.configuration.theDefaultProvider. /// /// For nillable properties, U is of type boost::optional<U'>. - static U get( - css::uno::Reference< css::uno::XComponentContext > - const & context = comphelper::getProcessComponentContext()) + static U get(css::uno::Reference< css::uno::XComponentContext > const & context) { // Folding this into one statement causes a bogus error at least with // Red Hat GCC 4.6.2-1: |