summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-09-12 15:46:26 +0300
committerTor Lillqvist <tml@iki.fi>2012-09-12 19:26:52 +0300
commitbb4d6a0d89b47d7f6b07507b839e69f780abcf37 (patch)
tree645a71eca953dd32dc96d53ed68fd52acc035671 /bridges
parent21774213d4f3985e28f78949cb96f00a0acf58a9 (diff)
Make it compile for iOS device, no idea whether it works
Change-Id: I56fdc4894347d9cce4d3b932d3b8740fcb4ef8b7
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno.cxx
index 9e6fba0dfc50..f53bddd29bf4 100644
--- a/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno.cxx
@@ -462,7 +462,8 @@ sal_Size bridges::cpp_uno::shared::VtableFactory::getBlockSize(
sal_Int32 slotCount)
{
#ifdef __arm
- ???
+ // ???
+ return (slotCount + 2) * sizeof (Slot);
#else
return (slotCount + 2) * sizeof (Slot);
#endif
@@ -491,6 +492,7 @@ unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions(
OSL_ASSERT(member != 0);
switch (member->eTypeClass) {
case typelib_TypeClass_INTERFACE_ATTRIBUTE:
+ {
#ifdef __arm
typelib_InterfaceAttributeTypeDescription *pAttrTD =
reinterpret_cast<typelib_InterfaceAttributeTypeDescription *>( member );
@@ -520,8 +522,9 @@ unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions(
);
}
break;
-
+ }
case typelib_TypeClass_INTERFACE_METHOD:
+ {
#ifdef __arm
typelib_InterfaceMethodTypeDescription *pMethodTD =
reinterpret_cast<
@@ -537,7 +540,7 @@ unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions(
#endif
);
break;
-
+ }
default:
OSL_ASSERT(false);
break;