summaryrefslogtreecommitdiff
path: root/bridges/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-03 14:36:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-12-03 14:36:18 +0100
commitddbeaada1c7abb0fee88e709f3d6d824f06b39e0 (patch)
treeed0ab197bc67a74fb8525e93749152712a710183 /bridges/source
parent48dad589e319c3545d9764b101a9834d55a09e43 (diff)
BRIDGES_JNI_UNO_FORCE_BOXED_ANY is undefined
...ever since its inception in 4afcc7135e0bef66e7a218141bc93a6aa6128fd8 "MWS_SRX644: migrate branch mws_srx644 -> HEAD." Change-Id: I82d3158b813fec89567fd94ed9ccc05944228161
Diffstat (limited to 'bridges/source')
-rw-r--r--bridges/source/jni_uno/jni_data.cxx26
1 files changed, 0 insertions, 26 deletions
diff --git a/bridges/source/jni_uno/jni_data.cxx b/bridges/source/jni_uno/jni_data.cxx
index 2a24f58d73db..cece43ac96ba 100644
--- a/bridges/source/jni_uno/jni_data.cxx
+++ b/bridges/source/jni_uno/jni_data.cxx
@@ -1618,31 +1618,6 @@ void Bridge::map_to_java(
if (in_param)
{
uno_Any const * pAny = (uno_Any const *)uno_data;
-
-#if defined BRIDGES_JNI_UNO_FORCE_BOXED_ANY
- if (typelib_TypeClass_VOID == pAny->pType->eTypeClass)
- {
- jo_any.reset(
- jni->NewLocalRef( m_jni_info->m_object_Any_VOID ) );
- }
- else
- {
- jvalue args[ 2 ];
- map_to_java(
- jni, &args[ 1 ], pAny->pData, pAny->pType, 0,
- true /* in */, false /* no out */,
- true /* create integral wrappers */ );
- jo_any.reset( args[ 1 ].l );
- // build up com.sun.star.uno.Any
- JLocalAutoRef jo_type( jni, create_type( jni, pAny->pType ) );
- args[ 0 ].l = jo_type.get();
- jo_any.reset(
- jni->NewObjectA(
- m_jni_info->m_class_Any,
- m_jni_info->m_ctor_Any_with_Type_Object, args ) );
- jni.ensure_no_exception();
- }
-#else
switch (pAny->pType->eTypeClass)
{
case typelib_TypeClass_VOID:
@@ -1832,7 +1807,6 @@ void Bridge::map_to_java(
break;
}
}
-#endif
}
if (out_param)