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

Stephan Bergmann sbergman at redhat.com
Thu Aug 7 09:25:14 PDT 2014


 cppu/source/uno/IdentityMapping.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit bcc719d52e6c470c3bb66548418230b48336e888
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Aug 7 18:24:41 2014 +0200

    Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happy
    
    Change-Id: Iaa470f710295e65347c9d12a3bce0d0b68b02417

diff --git a/cppu/source/uno/IdentityMapping.cxx b/cppu/source/uno/IdentityMapping.cxx
index fce98bd..270d065 100644
--- a/cppu/source/uno/IdentityMapping.cxx
+++ b/cppu/source/uno/IdentityMapping.cxx
@@ -19,6 +19,7 @@
 
 #include "IdentityMapping.hxx"
 
+#include "typelib/typedescription.h"
 #include "uno/mapping.h"
 #include "uno/environment.hxx"
 
@@ -67,7 +68,7 @@ static void SAL_CALL s_release(uno_Mapping * pMapping)
 static void SAL_CALL s_mapInterface(uno_Mapping                       * pMapping,
                                     void                             ** ppOut,
                                     void                              * pInterface,
-                                    SAL_UNUSED_PARAMETER struct _typelib_InterfaceTypeDescription * /*pInterfaceTypeDescr*/)
+                                    SAL_UNUSED_PARAMETER typelib_InterfaceTypeDescription * /*pInterfaceTypeDescr*/)
 {
     *ppOut = pInterface;
 


More information about the Libreoffice-commits mailing list