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
SbxVariableRef PopVar();
SbxVariable* GetTOS( short=0 );
void TOSMakeTemp();
bool ClearExprStack();
void ClearExprStack();
void PushGosub( const sal_uInt8* );
void PopGosub();
......
......@@ -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
......
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