summaryrefslogtreecommitdiff
path: root/basic/source/runtime
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-06-24 15:03:50 +0000
committerKurt Zenker <kz@openoffice.org>2008-06-24 15:03:50 +0000
commit6c2ba14adff13dc43b24d6445c343c3f037f90d4 (patch)
tree16d0c7208ca7ead6982193e7428d866ffb52d17c /basic/source/runtime
parentc5d82678b20476ffdf5e1fc4a910e8495ecd62dd (diff)
INTEGRATION: CWS ab48 (1.29.60); FILE MERGED
2008/06/10 05:10:11 ab 1.29.60.2: RESYNC: (1.29-1.30); FILE MERGED 2008/04/04 10:28:24 ab 1.29.60.1: #i75443# Support multiple array indices
Diffstat (limited to 'basic/source/runtime')
-rw-r--r--basic/source/runtime/step0.cxx12
1 files changed, 11 insertions, 1 deletions
diff --git a/basic/source/runtime/step0.cxx b/basic/source/runtime/step0.cxx
index ab32cbf9794b..dbcbb5cb530f 100644
--- a/basic/source/runtime/step0.cxx
+++ b/basic/source/runtime/step0.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: step0.cxx,v $
- * $Revision: 1.30 $
+ * $Revision: 1.31 $
*
* This file is part of OpenOffice.org.
*
@@ -898,6 +898,16 @@ void SbiRuntime::StepERASE_CLEAR()
lcl_clearImpl( refVar, eType );
}
+void SbiRuntime::StepARRAYACCESS()
+{
+ if( !refArgv )
+ StarBASIC::FatalError( SbERR_INTERNAL_ERROR );
+ SbxVariableRef refVar = PopVar();
+ refVar->SetParameters( refArgv );
+ PopArgv();
+ PushVar( CheckArray( refVar ) );
+}
+
// Einrichten eines Argvs
// nOp1 bleibt so -> 1. Element ist Returnwert