summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-07 18:24:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-07 18:24:41 +0200
commitbcc719d52e6c470c3bb66548418230b48336e888 (patch)
tree4511156082a1aa99bcc14ca691d660394266477a /cppu
parent9c9f0ea2c38929d133b0fe2faf616ecab17e07c9 (diff)
Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happy
Change-Id: Iaa470f710295e65347c9d12a3bce0d0b68b02417
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/uno/IdentityMapping.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/cppu/source/uno/IdentityMapping.cxx b/cppu/source/uno/IdentityMapping.cxx
index fce98bdf5966..270d065ca802 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;