From 608a6f1774bac50a8c89b48829c232f95a0761a4 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Mon, 19 Jun 2006 22:46:40 +0000 Subject: 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. --- bridges/source/jni_uno/jni_bridge.cxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'bridges') 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 &) -- cgit