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 1adcadafdb77..a4da5152cd48 100644 --- a/configmgr/source/configurationprovider.cxx +++ b/configmgr/source/configurationprovider.cxx @@ -395,7 +395,7 @@ Factory::createInstanceWithArgumentsAndContext( css::uno::Sequence< css::uno::Any > const & Arguments, css::uno::Reference< css::uno::XComponentContext > const & Context) { - if (Arguments.getLength() == 0) { + if (!Arguments.hasElements()) { return css::configuration::theDefaultProvider::get(Context); } else { OUString locale; |