diff options
author | Andreas Bregas <ab@openoffice.org> | 2010-07-27 12:16:05 +0200 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2010-07-27 12:16:05 +0200 |
commit | a61fdeaa608cc351a4b3fca62a5d8b1218fa6c3a (patch) | |
tree | d099fa7c8ee7acd14910205abd427fe2e1c052a7 /basic | |
parent | 570d392b903ed6e7eec5f02dcd9daf4791dd5f06 (diff) |
mib17: #i110822# Fixed named parameter handling in automation bridge
Diffstat (limited to 'basic')
-rwxr-xr-x[-rw-r--r--] | basic/source/runtime/step2.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/basic/source/runtime/step2.cxx b/basic/source/runtime/step2.cxx index b79c8039b9..5952e31a44 100644..100755 --- a/basic/source/runtime/step2.cxx +++ b/basic/source/runtime/step2.cxx @@ -378,7 +378,8 @@ void SbiRuntime::SetupArgs( SbxVariable* p, UINT32 nOp1 ) bool bError_ = true; SbUnoMethod* pUnoMethod = PTR_CAST(SbUnoMethod,p); - if( pUnoMethod ) + SbUnoProperty* pUnoProperty = PTR_CAST(SbUnoProperty,p); + if( pUnoMethod || pUnoProperty ) { SbUnoObject* pParentUnoObj = PTR_CAST( SbUnoObject,p->GetParent() ); if( pParentUnoObj ) |