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>
This commit is contained in:
committed by
Arnaud Versini
parent
356a888ebf
commit
0d737f2683
@@ -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
|
||||
|
Reference in New Issue
Block a user