Kaydet (Commit) 0d737f26 authored tarafından Arnaud Versini's avatar Arnaud Versini Kaydeden (comit) Arnaud Versini

BASIC : SbiRuntime::ClearExprStack should return void

Change-Id: I704d8920ec44b6d2eb1fc9599dc37e41a28b5e63
Reviewed-on: https://gerrit.libreoffice.org/17779Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarArnaud Versini <arnaud.versini@libreoffice.org>
üst 356a888e
...@@ -303,7 +303,7 @@ class SbiRuntime ...@@ -303,7 +303,7 @@ class SbiRuntime
SbxVariableRef PopVar(); SbxVariableRef PopVar();
SbxVariable* GetTOS( short=0 ); SbxVariable* GetTOS( short=0 );
void TOSMakeTemp(); void TOSMakeTemp();
bool ClearExprStack(); void ClearExprStack();
void PushGosub( const sal_uInt8* ); void PushGosub( const sal_uInt8* );
void PopGosub(); void PopGosub();
......
...@@ -1002,7 +1002,7 @@ SbxVariableRef SbiRuntime::PopVar() ...@@ -1002,7 +1002,7 @@ SbxVariableRef SbiRuntime::PopVar()
return xVar; return xVar;
} }
bool SbiRuntime::ClearExprStack() void SbiRuntime::ClearExprStack()
{ {
// Attention: Clear() doesn't suffice as methods must be deleted // Attention: Clear() doesn't suffice as methods must be deleted
while ( nExprLvl ) while ( nExprLvl )
...@@ -1010,7 +1010,6 @@ bool SbiRuntime::ClearExprStack() ...@@ -1010,7 +1010,6 @@ bool SbiRuntime::ClearExprStack()
PopVar(); PopVar();
} }
refExprStk->Clear(); refExprStk->Clear();
return false;
} }
// Take variable from the expression-stack without removing it // Take variable from the expression-stack without removing it
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment