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

Stephan Bergmann sbergman at redhat.com
Thu May 12 09:20:43 UTC 2016


 bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx |    3 ++-
 bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 81ad706b95ea0e350cf5ccc8fcb18ca4b375bffa
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu May 12 11:20:14 2016 +0200

    Replace comment with SAL_FALLTHROUGH
    
    Change-Id: I9ccba0369453af3b4b3328b9fca94429369c6524

diff --git a/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx
index 82c42da..d80a66a8 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx
@@ -365,7 +365,8 @@ typelib_TypeClass cpp_vtable_call(
                         }
                         TYPELIB_DANGER_RELEASE( pTD );
                     }
-                } // else perform queryInterface()
+                    SAL_FALLTHROUGH; // else perform queryInterface()
+                }
                 default:
                 {
                     typelib_InterfaceMethodTypeDescription *pMethodTD =
diff --git a/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx
index 02cbeaa..1555f55 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx
@@ -424,7 +424,8 @@ void unoInterfaceProxyDispatch(
                 }
                 TYPELIB_DANGER_RELEASE( pTD );
             }
-        } // else perform queryInterface()
+            SAL_FALLTHROUGH; // else perform queryInterface()
+        }
         default:
             // dependent dispatch
             cpp_call(


More information about the Libreoffice-commits mailing list