diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2015-08-16 12:18:36 +0200 |
---|---|---|
committer | Arnaud Versini <arnaud.versini@libreoffice.org> | 2015-08-16 12:27:49 +0000 |
commit | 0d737f26833a0540ef3144c94ce603f96d4aff7c (patch) | |
tree | 9e2191001c222d08f8ea11bd38f5850892255f09 /basic | |
parent | 356a888ebfc3a9b9ca5a4a7e73a5382c3d95f289 (diff) |
BASIC : SbiRuntime::ClearExprStack should return void
Change-Id: I704d8920ec44b6d2eb1fc9599dc37e41a28b5e63
Reviewed-on: https://gerrit.libreoffice.org/17779
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
Diffstat (limited to 'basic')
-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 |