[Libreoffice-commits] core.git: basic/source
Arnaud Versini
arnaud.versini at gmail.com
Sun Aug 16 05:28:12 PDT 2015
basic/source/inc/runtime.hxx | 2 +-
basic/source/runtime/runtime.cxx | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
New commits:
commit 0d737f26833a0540ef3144c94ce603f96d4aff7c
Author: Arnaud Versini <arnaud.versini at gmail.com>
Date: Sun Aug 16 12:18:36 2015 +0200
BASIC : SbiRuntime::ClearExprStack should return void
Change-Id: I704d8920ec44b6d2eb1fc9599dc37e41a28b5e63
Reviewed-on: https://gerrit.libreoffice.org/17779
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Arnaud Versini <arnaud.versini at libreoffice.org>
diff --git a/basic/source/inc/runtime.hxx b/basic/source/inc/runtime.hxx
index cf4ba44..3963b2d 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 3334624..d09b183 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
More information about the Libreoffice-commits
mailing list