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:
Arnaud Versini
2015-08-16 12:18:36 +02:00
committed by Arnaud Versini
parent 356a888ebf
commit 0d737f2683
2 changed files with 2 additions and 3 deletions

View File

@@ -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();

View File

@@ -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