From 39f28b602537a32a2bb9ae036551f3fd3d3d6fb8 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Mon, 19 Jun 2006 19:03:23 +0000 Subject: [PATCH] INTEGRATION: CWS warnings01 (1.4.6); FILE MERGED 2006/02/28 15:54:56 sb 1.4.6.2: #i53898# Made code waring-free. 2005/11/10 08:44:43 pl 1.4.6.1: #i53898# removed warnings --- .../unix/com_sun_star_beans_LocalOfficeWindow.c | 12 ++++++------ .../unix/com_sun_star_comp_beans_LocalOfficeWindow.c | 10 ++++------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/bean/native/unix/com_sun_star_beans_LocalOfficeWindow.c b/bean/native/unix/com_sun_star_beans_LocalOfficeWindow.c index e964f2b24032..9676c1e1da42 100644 --- a/bean/native/unix/com_sun_star_beans_LocalOfficeWindow.c +++ b/bean/native/unix/com_sun_star_beans_LocalOfficeWindow.c @@ -4,9 +4,9 @@ * * $RCSfile: com_sun_star_beans_LocalOfficeWindow.c,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2005-09-07 22:03:48 $ + * last change: $Author: hr $ $Date: 2006-06-19 20:03:11 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -33,10 +33,6 @@ * ************************************************************************/ -#if HAVE_CONFIG_H -#include -#endif - #include #include #include @@ -73,6 +69,8 @@ JNIEXPORT jlong JNICALL Java_com_sun_star_comp_beans_LocalOfficeWindow_getNative JNIEXPORT jint JNICALL Java_com_sun_star_beans_LocalOfficeWindow_getNativeWindowSystemType (JNIEnv * env, jobject obj_this) { + (void) env; /* avoid warning about unused parameter */ + (void) obj_this; /* avoid warning about unused parameter */ return (SYSTEM_XWINDOW); } @@ -86,6 +84,8 @@ JNIEXPORT jint JNICALL Java_com_sun_star_beans_LocalOfficeWindow_getNativeWindow JNIEXPORT jlong JNICALL Java_com_sun_star_beans_LocalOfficeWindow_getNativeWindow (JNIEnv * env, jobject obj_this) { + (void) env; /* avoid warning about unused parameter */ + (void) obj_this; /* avoid warning about unused parameter */ return Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow(env, obj_this); } diff --git a/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c b/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c index 66be8587b883..445c243adf21 100644 --- a/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c +++ b/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c @@ -4,9 +4,9 @@ * * $RCSfile: com_sun_star_comp_beans_LocalOfficeWindow.c,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2005-09-07 22:04:06 $ + * last change: $Author: hr $ $Date: 2006-06-19 20:03:23 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -33,10 +33,6 @@ * ************************************************************************/ -#if HAVE_CONFIG_H -#include -#endif - #include #include #include @@ -80,6 +76,8 @@ static void ThrowException(JNIEnv * env, char const * type, char const * msg) { JNIEXPORT jint JNICALL Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindowSystemType (JNIEnv * env, jobject obj_this) { + (void) env; /* avoid warning about unused parameter */ + (void) obj_this; /* avoid warning about unused parameter */ return (SYSTEM_XWINDOW); }