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

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 14 07:32:25 UTC 2020


 bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 6232cb71f4012a52c9b52339c6e00195a37689d7
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Oct 13 17:03:44 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Oct 14 09:31:48 2020 +0200

    loplugin:external (clang-cl)
    
    Change-Id: I2d636f229ea52505cc263ea0219cf9f00130effd
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104241
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
index 34ba34fb2856..159eb99a4756 100644
--- a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
@@ -44,8 +44,13 @@ extern "C" typelib_TypeClass cpp_vtable_call(sal_Int64 nOffsetAndIndex, void **
 }
 
 int const codeSnippetSize = 48;
+
+namespace {
+
 typedef enum { REGPARAM_INT, REGPARAM_FLT } RegParamKind;
 
+}
+
 extern "C" char privateSnippetExecutor;
 
 // This function generates the code that acts as a proxy for the UNO function to be called.


More information about the Libreoffice-commits mailing list