diff options
Diffstat (limited to 'configmgr/source/access.cxx')
-rw-r--r-- | configmgr/source/access.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx index 1f07df1b3d87..b2fcb3cf9ad0 100644 --- a/configmgr/source/access.cxx +++ b/configmgr/source/access.cxx @@ -1206,7 +1206,7 @@ css::uno::Reference< css::uno::XInterface > Access::createInstanceWithArguments( css::uno::Sequence< css::uno::Any > const & aArguments) { assert(thisIs(IS_SET|IS_UPDATE)); - if (aArguments.getLength() != 0) { + if (aArguments.hasElements()) { throw css::uno::Exception( ("configuration SimpleSetUpdate createInstanceWithArguments" " must not specify any arguments"), |