summaryrefslogtreecommitdiff
path: root/pyuno/source/module/pyuno_adapter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno/source/module/pyuno_adapter.cxx')
-rw-r--r--pyuno/source/module/pyuno_adapter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_adapter.cxx b/pyuno/source/module/pyuno_adapter.cxx
index 7a74d98eaf4e..f434b9ec2aed 100644
--- a/pyuno/source/module/pyuno_adapter.cxx
+++ b/pyuno/source/module/pyuno_adapter.cxx
@@ -266,7 +266,7 @@ Any Adapter::invoke( const OUString &aFunctionName,
// I can only decide for one solution by checking the method signature,
// so I need the reflection of the adapter !
aOutParamIndex = getOutIndexes( aFunctionName );
- if( aOutParamIndex.getLength() )
+ if( aOutParamIndex.hasElements() )
{
// out parameters exist, extract the sequence
Sequence< Any > seq;