diff options
Diffstat (limited to 'basic/source/runtime/runtime.cxx')
-rw-r--r-- | basic/source/runtime/runtime.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index 73807548bf23..caf5727a81cf 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -1014,9 +1014,9 @@ void SbiRuntime::ClearExprStack() // Take variable from the expression-stack without removing it // n counts from 0 -SbxVariable* SbiRuntime::GetTOS( short n ) +SbxVariable* SbiRuntime::GetTOS() { - n = nExprLvl - n - 1; + short n = nExprLvl - 1; #ifdef DBG_UTIL if( n < 0 ) { |