From 6b5dce35f2ff2d7c52e51686b438f9037f9cb78f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 29 Jul 2014 16:45:33 +0200 Subject: s_mapInterface must match uno_MapInterfaceFunc Change-Id: I5035db31ce3cb3d07dca86aa77552274c02f695a --- cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'cppu/source/helper') diff --git a/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx b/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx index 9375dd7fdfb0..bb29e13b9511 100644 --- a/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx +++ b/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx @@ -73,13 +73,15 @@ public: static void SAL_CALL s_mapInterface( uno_Mapping * puno_Mapping, - uno_Interface ** ppOut, - uno_Interface * pUnoI, + void ** ppOut, + void * pUnoI, typelib_InterfaceTypeDescription * pTypeDescr ) SAL_THROW_EXTERN_C() { Mapping * pMapping = static_cast(puno_Mapping); - pMapping->mapInterface(ppOut, pUnoI, pTypeDescr); + pMapping->mapInterface( + reinterpret_cast(ppOut), + static_cast(pUnoI), pTypeDescr); } extern "C" { -- cgit