diff options
-rw-r--r-- | basic/source/inc/runtime.hxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/runtime.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/basic/source/inc/runtime.hxx b/basic/source/inc/runtime.hxx index cf4ba44599a7..3963b2d21cbf 100644 --- a/basic/source/inc/runtime.hxx +++ b/basic/source/inc/runtime.hxx @@ -303,7 +303,7 @@ class SbiRuntime SbxVariableRef PopVar(); SbxVariable* GetTOS( short=0 ); void TOSMakeTemp(); - bool ClearExprStack(); + void ClearExprStack(); void PushGosub( const sal_uInt8* ); void PopGosub(); diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index 33346245051e..d09b183fe990 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -1002,7 +1002,7 @@ SbxVariableRef SbiRuntime::PopVar() return xVar; } -bool SbiRuntime::ClearExprStack() +void SbiRuntime::ClearExprStack() { // Attention: Clear() doesn't suffice as methods must be deleted while ( nExprLvl ) @@ -1010,7 +1010,6 @@ bool SbiRuntime::ClearExprStack() PopVar(); } refExprStk->Clear(); - return false; } // Take variable from the expression-stack without removing it |