summaryrefslogtreecommitdiff
path: root/oox/source/core/filterbase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/core/filterbase.cxx')
-rw-r--r--oox/source/core/filterbase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/core/filterbase.cxx b/oox/source/core/filterbase.cxx
index b79b0a569b69..ede7b7ac06c3 100644
--- a/oox/source/core/filterbase.cxx
+++ b/oox/source/core/filterbase.cxx
@@ -423,7 +423,7 @@ void SAL_CALL FilterBase::initialize( const Sequence< Any >& rArgs )
{
}
- if (rArgs.getLength() >= 1)
+ if (rArgs.hasElements())
{
Sequence<css::beans::PropertyValue> aSeq;
rArgs[0] >>= aSeq;