[Libreoffice-commits] core.git: compilerplugins/clang

Stephan Bergmann sbergman at redhat.com
Thu Dec 4 02:57:57 PST 2014


 compilerplugins/clang/store/cstylecast.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit a0db0648f6c4971f73c32eb8164934d24aa7503c
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Dec 4 11:56:14 2014 +0100

    Problematic casts in gendata.hxx are already under control
    
    Change-Id: If3b0f667b379b7973364c93be4b88347e5768223

diff --git a/compilerplugins/clang/store/cstylecast.cxx b/compilerplugins/clang/store/cstylecast.cxx
index b036e1b..132686f 100644
--- a/compilerplugins/clang/store/cstylecast.cxx
+++ b/compilerplugins/clang/store/cstylecast.cxx
@@ -80,8 +80,6 @@ bool CStyleCast::VisitCStyleCastExpr(const CStyleCastExpr * expr) {
         }
     } else {
         if (filename.startswith(SRCDIR "/include/tools/solar.h")
-           // the GetSalDisplay/GetGtkDisplay methods are problematic
-           || filename.startswith(SRCDIR "/vcl/inc/generic/gendata.hxx")
            || filename.startswith(SRCDIR "/include/cppuhelper/")) {
             return true;
         }


More information about the Libreoffice-commits mailing list