summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorCatalin Iacob <iacobcatalin@gmail.com>2012-04-19 20:48:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-04-23 14:16:35 +0200
commit5fbaa2f228ee4d60a5f7f7a21bf00933b7ae8fff (patch)
tree4013f9966c9cc662f83d027e09bc81a994317d11 /connectivity
parent835a063cee7f40169e3223cd2c56204e24d912f4 (diff)
WaE: Clang expression result unused
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/jdbc/Array.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/jdbc/Array.cxx b/connectivity/source/drivers/jdbc/Array.cxx
index d7ccb2a277b9..16d7cf8fd9bf 100644
--- a/connectivity/source/drivers/jdbc/Array.cxx
+++ b/connectivity/source/drivers/jdbc/Array.cxx
@@ -71,7 +71,7 @@ sal_Int32 SAL_CALL java_sql_Array::getBaseType( ) throw(::com::sun::star::sdbc:
static jmethodID mID(NULL);
obtainMethodId(t.pEnv, cMethodName,cSignature, mID);
// submit Java-Call
- (jobjectArray)t.pEnv->CallObjectMethod( object, mID, obj);
+ t.pEnv->CallObjectMethod( object, mID, obj);
ThrowSQLException(t.pEnv,*this);
// and clean up
t.pEnv->DeleteLocalRef(obj);
@@ -89,7 +89,7 @@ sal_Int32 SAL_CALL java_sql_Array::getBaseType( ) throw(::com::sun::star::sdbc:
// submit Java-Call
static jmethodID mID(NULL);
obtainMethodId(t.pEnv, cMethodName,cSignature, mID);
- (jobjectArray)t.pEnv->CallObjectMethod( object, mID, index,count,obj);
+ t.pEnv->CallObjectMethod( object, mID, index,count,obj);
ThrowSQLException(t.pEnv,*this);
// and clean up
t.pEnv->DeleteLocalRef(obj);