s_mapInterface must match uno_MapInterfaceFunc
Change-Id: I5035db31ce3cb3d07dca86aa77552274c02f695a
This commit is contained in:
@@ -73,13 +73,15 @@ public:
|
|||||||
|
|
||||||
static void SAL_CALL s_mapInterface(
|
static void SAL_CALL s_mapInterface(
|
||||||
uno_Mapping * puno_Mapping,
|
uno_Mapping * puno_Mapping,
|
||||||
uno_Interface ** ppOut,
|
void ** ppOut,
|
||||||
uno_Interface * pUnoI,
|
void * pUnoI,
|
||||||
typelib_InterfaceTypeDescription * pTypeDescr )
|
typelib_InterfaceTypeDescription * pTypeDescr )
|
||||||
SAL_THROW_EXTERN_C()
|
SAL_THROW_EXTERN_C()
|
||||||
{
|
{
|
||||||
Mapping * pMapping = static_cast<Mapping *>(puno_Mapping);
|
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" {
|
extern "C" {
|
||||||
|
Reference in New Issue
Block a user