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

Noel Grandin noel.grandin at collabora.co.uk
Fri Dec 2 11:23:02 UTC 2016


 basic/source/comp/exprtree.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit afabf409aa8b299806726c69edc3ab0258f50c02
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Fri Dec 2 13:22:15 2016 +0200

    oops, wasn't supposed to commit that
    
    snuck in with commit 4d2c210c74567d9af6bededf3fae6bfd62406f14
    "use early return to simplify flow"
    
    Change-Id: I2a5cbff01c5f40d879d320fd3934bc0856756d37

diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx
index fa8e9d1..008976f 100644
--- a/basic/source/comp/exprtree.cxx
+++ b/basic/source/comp/exprtree.cxx
@@ -1055,11 +1055,11 @@ SbiExprListPtr SbiExprList::ParseParameters( SbiParser* pParser, bool bStandalon
         {
             if( ( pExprList->bBracket && eTok == RPAREN ) || SbiTokenizer::IsEoln( eTok ) )
             {
-//                if ( SbiTokenizer::IsEoln( eTok ) && pExprList->bBracket)
-//                {
-//                    pParser->Error( ERRCODE_BASIC_EXPECTED, RPAREN );
-//                    pExprList->bError = true;
-//                }
+                if ( SbiTokenizer::IsEoln( eTok ) && pExprList->bBracket)
+                {
+                    pParser->Error( ERRCODE_BASIC_EXPECTED, RPAREN );
+                    pExprList->bError = true;
+                }
                 break;
             }
             pParser->Error( pExprList->bBracket ? ERRCODE_BASIC_BAD_BRACKETS : ERRCODE_BASIC_EXPECTED, COMMA );


More information about the Libreoffice-commits mailing list