update ooo310-m15
[ooovba.git] / applied_patches / 0429-vba-fix-optionalparam-assigment.diff
blobf671a5d6206dd87b62129ed5b6076441f08bcddd
1 diff --git basic/source/runtime/step2.cxx basic/source/runtime/step2.cxx
2 index 644ecdb..5606274 100644
3 --- basic/source/runtime/step2.cxx
4 +++ basic/source/runtime/step2.cxx
5 @@ -723,6 +723,8 @@ void SbiRuntime::StepPARAM( UINT32 nOp1, UINT32 nOp2 )
6 SaveRef( q );
7 *q = *p;
8 p = q;
9 + if ( i )
10 + refParams->Put( p, i );
12 SetupArgs( p, nOp1 );
13 PushVar( CheckArray( p ) );