Make it compile for iOS device, no idea whether it works
Change-Id: I56fdc4894347d9cce4d3b932d3b8740fcb4ef8b7
This commit is contained in:
@@ -462,7 +462,8 @@ sal_Size bridges::cpp_uno::shared::VtableFactory::getBlockSize(
|
|||||||
sal_Int32 slotCount)
|
sal_Int32 slotCount)
|
||||||
{
|
{
|
||||||
#ifdef __arm
|
#ifdef __arm
|
||||||
???
|
// ???
|
||||||
|
return (slotCount + 2) * sizeof (Slot);
|
||||||
#else
|
#else
|
||||||
return (slotCount + 2) * sizeof (Slot);
|
return (slotCount + 2) * sizeof (Slot);
|
||||||
#endif
|
#endif
|
||||||
@@ -491,6 +492,7 @@ unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions(
|
|||||||
OSL_ASSERT(member != 0);
|
OSL_ASSERT(member != 0);
|
||||||
switch (member->eTypeClass) {
|
switch (member->eTypeClass) {
|
||||||
case typelib_TypeClass_INTERFACE_ATTRIBUTE:
|
case typelib_TypeClass_INTERFACE_ATTRIBUTE:
|
||||||
|
{
|
||||||
#ifdef __arm
|
#ifdef __arm
|
||||||
typelib_InterfaceAttributeTypeDescription *pAttrTD =
|
typelib_InterfaceAttributeTypeDescription *pAttrTD =
|
||||||
reinterpret_cast<typelib_InterfaceAttributeTypeDescription *>( member );
|
reinterpret_cast<typelib_InterfaceAttributeTypeDescription *>( member );
|
||||||
@@ -520,8 +522,9 @@ unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
case typelib_TypeClass_INTERFACE_METHOD:
|
case typelib_TypeClass_INTERFACE_METHOD:
|
||||||
|
{
|
||||||
#ifdef __arm
|
#ifdef __arm
|
||||||
typelib_InterfaceMethodTypeDescription *pMethodTD =
|
typelib_InterfaceMethodTypeDescription *pMethodTD =
|
||||||
reinterpret_cast<
|
reinterpret_cast<
|
||||||
@@ -537,7 +540,7 @@ unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions(
|
|||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
OSL_ASSERT(false);
|
OSL_ASSERT(false);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user