diff options
author | Andreas Bregas <ab@openoffice.org> | 2011-02-17 11:55:29 +0100 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2011-02-17 11:55:29 +0100 |
commit | c91bce6e57dddc7ccd0d5ae58dd1eeeb6b3a8ca7 (patch) | |
tree | a1979b71691054d40034c9cbfc64fd70ed0b169d /basic | |
parent | c1db4c75656b834a88dc760922dbe3c5f5f01b56 (diff) |
ab81: #164411# Fix accidental index access at UNO objects
Diffstat (limited to 'basic')
-rwxr-xr-x | basic/source/runtime/step2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/step2.cxx b/basic/source/runtime/step2.cxx index 64a9d86ab940..b7936a024cca 100755 --- a/basic/source/runtime/step2.cxx +++ b/basic/source/runtime/step2.cxx @@ -521,7 +521,7 @@ SbxVariable* SbiRuntime::CheckArray( SbxVariable* pElem ) pPar->Put( NULL, 0 ); } // Index-Access bei UnoObjekten beruecksichtigen - else if( pElem->GetType() == SbxOBJECT && (!pElem->ISA(SbxMethod) || !pElem->IsBroadcaster()) ) + else if( pElem->GetType() == SbxOBJECT && (!pElem->ISA(SbxMethod) || (bVBAEnabled && !pElem->IsBroadcaster()) ) ) { pPar = pElem->GetParameters(); if ( pPar ) |