s_mapInterface must match uno_MapInterfaceFunc

Change-Id: I5035db31ce3cb3d07dca86aa77552274c02f695a
This commit is contained in:
Stephan Bergmann
2014-07-29 16:45:33 +02:00
parent 63eb070d0d
commit 6b5dce35f2

View File

@@ -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<Mapping *>(puno_Mapping);
pMapping->mapInterface(ppOut, pUnoI, pTypeDescr);
pMapping->mapInterface(
reinterpret_cast<uno_Interface **>(ppOut),
static_cast<uno_Interface *>(pUnoI), pTypeDescr);
}
extern "C" {