diff options
-rw-r--r-- | connectivity/source/drivers/jdbc/Array.cxx | 4 |
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); |