summaryrefslogtreecommitdiffstats
path: root/framework/source/helper/tagwindowasmodified.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/helper/tagwindowasmodified.cxx')
-rw-r--r--framework/source/helper/tagwindowasmodified.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/helper/tagwindowasmodified.cxx b/framework/source/helper/tagwindowasmodified.cxx
index bb2f3958cae8..3c40842dd6fa 100644
--- a/framework/source/helper/tagwindowasmodified.cxx
+++ b/framework/source/helper/tagwindowasmodified.cxx
@@ -49,7 +49,7 @@ void SAL_CALL TagWindowAsModified::initialize(const css::uno::Sequence< css::uno
{
css::uno::Reference< css::frame::XFrame > xFrame;
- if (lArguments.getLength() > 0)
+ if (lArguments.hasElements())
lArguments[0] >>= xFrame;
if ( ! xFrame.is ())