summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorAndreas Bregas <ab@openoffice.org>2010-07-27 12:16:05 +0200
committerAndreas Bregas <ab@openoffice.org>2010-07-27 12:16:05 +0200
commitb7d6f018da399d350d778acf0d76b210242b3939 (patch)
tree6a851d1103f1d635ee289092e4ef882b04074370 /basic
parentc6431e762cd7fedb380160db13dbbe2a9a7e7f9d (diff)
mib17: #i110822# Fixed named parameter handling in automation bridge
Diffstat (limited to 'basic')
-rwxr-xr-x[-rw-r--r--]basic/source/runtime/step2.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/basic/source/runtime/step2.cxx b/basic/source/runtime/step2.cxx
index 47f4967eab99..0e95bf66631d 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 )