summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 22:46:40 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 22:46:40 +0000
commit608a6f1774bac50a8c89b48829c232f95a0761a4 (patch)
tree047bbf0bd7d7cc433573b079fdc235bee73640cc /bridges
parent15291714818a4403a6fff71fe2116abdd63204f8 (diff)
INTEGRATION: CWS warnings01 (1.14.4); FILE MERGED
2006/05/23 23:07:02 sb 1.14.4.2: RESYNC: (1.14-1.15); FILE MERGED 2006/02/28 15:00:33 sb 1.14.4.1: #i53898# Made code waring-free.
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/jni_uno/jni_bridge.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/bridges/source/jni_uno/jni_bridge.cxx b/bridges/source/jni_uno/jni_bridge.cxx
index 842eb1553d7f..4050fe6bb7f5 100644
--- a/bridges/source/jni_uno/jni_bridge.cxx
+++ b/bridges/source/jni_uno/jni_bridge.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: jni_bridge.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: hr $ $Date: 2006-04-19 13:43:34 $
+ * last change: $Author: hr $ $Date: 2006-06-19 23:46:40 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -120,6 +120,8 @@ void SAL_CALL Mapping_map_to_uno(
OUSTR("[jni_uno bridge error] ") + err.m_message,
RTL_TEXTENCODING_ASCII_US ) );
OSL_ENSURE( 0, cstr_msg.getStr() );
+#else
+ (void) err; // unused
#endif
}
catch (::jvmaccess::VirtualMachine::AttachGuard::CreationException &)
@@ -188,6 +190,8 @@ void SAL_CALL Mapping_map_to_java(
OUSTR("[jni_uno bridge error] ") + err.m_message,
RTL_TEXTENCODING_ASCII_US ) );
OSL_ENSURE( 0, cstr_msg.getStr() );
+#else
+ (void) err; // unused
#endif
}
catch (::jvmaccess::VirtualMachine::AttachGuard::CreationException &)
@@ -545,6 +549,8 @@ void SAL_CALL uno_ext_getMapping(
OUSTR("[jni_uno bridge error] ") + err.m_message,
RTL_TEXTENCODING_ASCII_US ) );
OSL_ENSURE( 0, cstr_msg.getStr() );
+#else
+ (void) err; // unused
#endif
}
catch (::jvmaccess::VirtualMachine::AttachGuard::CreationException &)