diff options
Diffstat (limited to 'framework/source/helper/persistentwindowstate.cxx')
-rw-r--r-- | framework/source/helper/persistentwindowstate.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/helper/persistentwindowstate.cxx b/framework/source/helper/persistentwindowstate.cxx index ecec7f39d63c..aad137074d98 100644 --- a/framework/source/helper/persistentwindowstate.cxx +++ b/framework/source/helper/persistentwindowstate.cxx @@ -50,7 +50,7 @@ void SAL_CALL PersistentWindowState::initialize(const css::uno::Sequence< css::u { // check arguments css::uno::Reference< css::frame::XFrame > xFrame; - if (lArguments.getLength() < 1) + if (!lArguments.hasElements()) throw css::lang::IllegalArgumentException( "Empty argument list!", static_cast< ::cppu::OWeakObject* >(this), |