[Libreoffice-commits] core.git: basic/source

apurvapriyadarshi apriyadarshi.1995 at gmail.com
Mon Jun 27 06:20:44 UTC 2016


 basic/source/runtime/runtime.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit e4b332358789c0d4df88401021c17e0c88671eb3
Author: apurvapriyadarshi <apriyadarshi.1995 at gmail.com>
Date:   Fri Jun 24 12:14:22 2016 +0530

    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 at libreoffice.org>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index fddabbb..bc25189 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;
 }


More information about the Libreoffice-commits mailing list