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

Stephan Bergmann sbergman at redhat.com
Mon Jul 17 15:17:28 UTC 2017


 basic/source/runtime/methods.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9f08211d2461c3d46a5f448f6c399ac6b82e910d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jul 17 17:16:51 2017 +0200

    loplugin:unnecessaryparen: basic (clang-cl)
    
    Change-Id: Id6e339a4d1bc775826ff434bc77beb05fe353324

diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 996542c4b854..478a59a0e1f2 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -2968,7 +2968,7 @@ void SbRtl_GetAttr(StarBASIC * pBasic, SbxArray & rPar, bool bWrite)
                 {
                     nRealFlags = 0;
                 }
-                nFlags = (sal_Int16) (nRealFlags);
+                nFlags = (sal_Int16) nRealFlags;
             }
             else
             {


More information about the Libreoffice-commits mailing list