diff options
Diffstat (limited to 'framework/source/helper/titlebarupdate.cxx')
-rw-r--r-- | framework/source/helper/titlebarupdate.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/helper/titlebarupdate.cxx b/framework/source/helper/titlebarupdate.cxx index 0ab7dee17235..9536485f66d5 100644 --- a/framework/source/helper/titlebarupdate.cxx +++ b/framework/source/helper/titlebarupdate.cxx @@ -63,7 +63,7 @@ void SAL_CALL TitleBarUpdate::initialize(const css::uno::Sequence< css::uno::Any { // 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), |