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

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sun Sep 27 07:49:00 UTC 2020


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

New commits:
commit e0ce9ec1a543d5cbb91d061db067847052bf9c7e
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Sep 26 10:18:15 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Sep 27 09:48:22 2020 +0200

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: Idd33e9f70c9552c341b4d312bc33135f758715b6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103449
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index abd65aa685a8..89fc75f31e8e 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -4268,15 +4268,15 @@ void SbiRuntime::StepSTMNT( sal_uInt32 nOp1, sal_uInt32 nOp2 )
     if( !bInError )
     {
         // (there's a difference here in case of a jump out of a loop)
-        sal_uInt16 nExspectedForLevel = static_cast<sal_uInt16>( nOp2 / 0x100 );
+        sal_uInt16 nExpectedForLevel = static_cast<sal_uInt16>( nOp2 / 0x100 );
         if( !pGosubStk.empty() )
         {
-            nExspectedForLevel = nExspectedForLevel + pGosubStk.back().nStartForLvl;
+            nExpectedForLevel = nExpectedForLevel + pGosubStk.back().nStartForLvl;
         }
 
         // if the actual for-level is too small it'd jump out
         // of a loop -> corrected
-        while( nForLvl > nExspectedForLevel )
+        while( nForLvl > nExpectedForLevel )
         {
             PopFor();
         }


More information about the Libreoffice-commits mailing list