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

Stephan Bergmann sbergman at redhat.com
Thu Jan 11 17:38:16 UTC 2018


 idlc/source/parser.y |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 78b60654ffc612df794c630ddb690e4242e99c94
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jan 11 11:47:38 2018 +0100

    Manual loplugin:cstylecast fixes in idlc/source/parser.y
    
    ...with a to-be-committed improved loplugin:cstylecast
    
    Change-Id: Iafd2f3d401e7a9e46acfdba89a5b35498afbfd3c
    Reviewed-on: https://gerrit.libreoffice.org/47753
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/idlc/source/parser.y b/idlc/source/parser.y
index 1e873853b46e..aa8302cac46f 100644
--- a/idlc/source/parser.y
+++ b/idlc/source/parser.y
@@ -1421,11 +1421,11 @@ literal :
     }
     | IDL_TRUE
     {
-        $$ = new AstExpression((sal_Int32)1, ET_boolean);
+        $$ = new AstExpression(sal_Int32(1), ET_boolean);
     }
     | IDL_FALSE
     {
-        $$ = new AstExpression((sal_Int32)0, ET_boolean);
+        $$ = new AstExpression(sal_Int32(0), ET_boolean);
     }
     ;
 


More information about the Libreoffice-commits mailing list