summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorapurvapriyadarshi <apriyadarshi.1995@gmail.com>2016-06-24 12:14:22 +0530
committerNoel Grandin <noelgrandin@gmail.com>2016-06-27 06:20:18 +0000
commite4b332358789c0d4df88401021c17e0c88671eb3 (patch)
tree39a38c84eac0f3fd628f50b23860024aa4655574 /basic
parent82644f5952fa8780ffd590d23b194bf1866ed099 (diff)
tdf#96505 Get rid of cargo cult long integer literals
Cleanup in basic/source/runtime/runtime.cxx Change-Id: I1176251af9c4ca56c29dfafab20caccd7a28d60f Reviewed-on: https://gerrit.libreoffice.org/26627 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/runtime.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index fddabbb7e9b6..bc25189b3b37 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -2607,18 +2607,18 @@ void SbiRuntime::StepSTDERROR()
{
pError = nullptr; bError = true;
pInst->aErrorMsg.clear();
- pInst->nErr = 0L;
+ pInst->nErr = 0;
pInst->nErl = 0;
- nError = 0L;
+ nError = 0;
SbxErrObject::getUnoErrObject()->Clear();
}
void SbiRuntime::StepNOERROR()
{
pInst->aErrorMsg.clear();
- pInst->nErr = 0L;
+ pInst->nErr = 0;
pInst->nErl = 0;
- nError = 0L;
+ nError = 0;
SbxErrObject::getUnoErrObject()->Clear();
bError = false;
}