summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/hsqldb/StorageNativeOutputStream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/hsqldb/StorageNativeOutputStream.cxx')
-rw-r--r--connectivity/source/drivers/hsqldb/StorageNativeOutputStream.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/connectivity/source/drivers/hsqldb/StorageNativeOutputStream.cxx b/connectivity/source/drivers/hsqldb/StorageNativeOutputStream.cxx
index ce194628a738..70633e50e396 100644
--- a/connectivity/source/drivers/hsqldb/StorageNativeOutputStream.cxx
+++ b/connectivity/source/drivers/hsqldb/StorageNativeOutputStream.cxx
@@ -161,14 +161,15 @@ extern "C" SAL_JNI_EXPORT void JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_Stora
extern "C" SAL_JNI_EXPORT void JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputStream_flush
(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" );
OUString sKey = StorageContainer::jstring2ustring(env,key);
OUString sName = StorageContainer::jstring2ustring(env,name);
+#else
+ (void) env;
+ (void) key;
+ (void) name;
#endif
}