diff options
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/jni_uno/jni_java2uno.cxx | 3 | ||||
-rw-r--r-- | bridges/source/jni_uno/jni_uno2java.cxx | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bridges/source/jni_uno/jni_java2uno.cxx b/bridges/source/jni_uno/jni_java2uno.cxx index 4092933be49f..b6c4c6ea9b35 100644 --- a/bridges/source/jni_uno/jni_java2uno.cxx +++ b/bridges/source/jni_uno/jni_java2uno.cxx @@ -144,6 +144,8 @@ void Bridge::handle_uno_exc( JNI_context const & jni, uno_Any * uno_exc ) const } } +namespace { + union largest { sal_Int64 n; @@ -152,6 +154,7 @@ union largest uno_Any a; }; +} jobject Bridge::call_uno( JNI_context const & jni, diff --git a/bridges/source/jni_uno/jni_uno2java.cxx b/bridges/source/jni_uno/jni_uno2java.cxx index 9b7c45c6185b..eb152c110ec7 100644 --- a/bridges/source/jni_uno/jni_uno2java.cxx +++ b/bridges/source/jni_uno/jni_uno2java.cxx @@ -383,6 +383,8 @@ void Bridge::call_java( } } +namespace { + // a UNO proxy wrapping a Java interface struct UNO_proxy : public uno_Interface { @@ -405,6 +407,7 @@ struct UNO_proxy : public uno_Interface JNI_interface_type_info const * info ); }; +} inline UNO_proxy::UNO_proxy( JNI_context const & jni, Bridge const * bridge, |