summaryrefslogtreecommitdiff
path: root/connectivity/source
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 00:32:25 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 00:32:25 +0000
commit4080aeab0c758d247182cacd9984794167b1d7f9 (patch)
tree9a5f0a3d8550ef0c071bb1194156ddafe42e746a /connectivity/source
parentf992eeca82ca7cafe5365e09b1148429280baf8a (diff)
INTEGRATION: CWS warnings01 (1.8.20); FILE MERGED
2005/12/22 11:44:50 fs 1.8.20.2: #i57457# warning-free code 2005/11/16 12:59:09 fs 1.8.20.1: #i57457# warning free code
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/drivers/hsqldb/StorageNativeOutputStream.cxx21
1 files changed, 14 insertions, 7 deletions
diff --git a/connectivity/source/drivers/hsqldb/StorageNativeOutputStream.cxx b/connectivity/source/drivers/hsqldb/StorageNativeOutputStream.cxx
index e69188b1e5b6..5bba57244ccd 100644
--- a/connectivity/source/drivers/hsqldb/StorageNativeOutputStream.cxx
+++ b/connectivity/source/drivers/hsqldb/StorageNativeOutputStream.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: StorageNativeOutputStream.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: hr $ $Date: 2005-09-23 11:40:41 $
+ * last change: $Author: hr $ $Date: 2006-06-20 01:32:25 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -32,7 +32,7 @@
* MA 02111-1307 USA
*
************************************************************************/
-#if HAVE_CONFIG_H
+#if defined(HAVE_CONFIG_H) && HAVE_CONFIG_H
#include <config.h>
#endif
@@ -80,6 +80,10 @@
#include "jvmaccess/virtualmachine.hxx"
#include "com/sun/star/lang/XSingleComponentFactory.hpp"
+#ifndef CONNECTIVITY_DIAGNOSE_EX_H
+#include "diagnose_ex.h"
+#endif
+
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::document;
@@ -102,7 +106,7 @@ using namespace ::connectivity::hsqldb;
* Signature: (Ljava/lang/String;Ljava/lang/String;I)V
*/
JNIEXPORT void JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputStream_openStream
- (JNIEnv * env, jobject obj_this, jstring name, jstring key, jint mode)
+ (JNIEnv * env, jobject /*obj_this*/, jstring name, jstring key, jint mode)
{
#ifdef HSQLDB_DBG
{
@@ -154,7 +158,7 @@ JNIEXPORT void JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputSt
* Signature: (Ljava/lang/String;Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputStream_close
- (JNIEnv * env, jobject obj_this, jstring key, jstring name)
+ (JNIEnv * env, jobject /*obj_this*/, jstring key, jstring name)
{
#ifdef HSQLDB_DBG
OperationLogFile aOpLog( env, name, "output" );
@@ -204,8 +208,11 @@ JNIEXPORT void JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputSt
* Signature: (Ljava/lang/String;Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputStream_flush
- (JNIEnv * env, jobject obj_this, jstring key, jstring name)
+ (JNIEnv * env, jobject /*obj_this*/, jstring key, jstring name)
{
+ OSL_UNUSED( env );
+ OSL_UNUSED( key );
+ OSL_UNUSED( name );
#ifdef HSQLDB_DBG
OperationLogFile( env, name, "output" ).logOperation( "flush" );
@@ -220,7 +227,7 @@ JNIEXPORT void JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputSt
* Signature: (Ljava/lang/String;Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputStream_sync
- (JNIEnv * env, jobject obj_this, jstring key, jstring name)
+ (JNIEnv * env, jobject /*obj_this*/, jstring key, jstring name)
{
#ifdef HSQLDB_DBG
OperationLogFile( env, name, "output" ).logOperation( "sync" );