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

Katarina Behrens Katarina.Behrens at cib.de
Fri Mar 31 14:28:19 UTC 2017


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

New commits:
commit 351dead74b4c213b13102f81b5ae9bb47ad8ca39
Author: Katarina Behrens <Katarina.Behrens at cib.de>
Date:   Fri Mar 17 15:12:32 2017 +0100

    tdf#106529: Revert "tdf#80731 Closing parenthesis is now detected"
    
    This reverts commit 65e294e221e0ad1d37c6667eecb995817ace870d, which
    breaks several widely used Basic extensions and hundreds of anonymous
    macros that miss closing parenthesis here and there
    
    (cherry picked from commit 660e394b893a045a077ccded263f94a1be03fcf9)
    
    Change-Id: I5d27e6d4e7c8aea3f0762c41ede46e35a5a24aaa
    Reviewed-on: https://gerrit.libreoffice.org/35970
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx
index 0a8b665e4ecb..c3b064da6325 100644
--- a/basic/source/comp/exprtree.cxx
+++ b/basic/source/comp/exprtree.cxx
@@ -1055,11 +1055,6 @@ 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;
-                }
                 break;
             }
             pParser->Error( pExprList->bBracket ? ERRCODE_BASIC_BAD_BRACKETS : ERRCODE_BASIC_EXPECTED, COMMA );


More information about the Libreoffice-commits mailing list