summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/jdbc/Timestamp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-02 08:40:50 +0200
committerNoel Grandin <noel@peralex.com>2014-10-03 15:20:03 +0200
commit7d7b289da49ccd7979f650222bfb669cd6b623de (patch)
tree4a6f6d2608214e513984926142200f9bc26c26c9 /connectivity/source/drivers/jdbc/Timestamp.cxx
parent11d22e164ec5e62e067a38ce11929b157381d1b7 (diff)
loplugin: cstylecast
Change-Id: I114924d5e0407883b2e77016da3c2e3e55657b21
Diffstat (limited to 'connectivity/source/drivers/jdbc/Timestamp.cxx')
-rw-r--r--connectivity/source/drivers/jdbc/Timestamp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/jdbc/Timestamp.cxx b/connectivity/source/drivers/jdbc/Timestamp.cxx
index cc2c7e1d7399..86f0fe7a8705 100644
--- a/connectivity/source/drivers/jdbc/Timestamp.cxx
+++ b/connectivity/source/drivers/jdbc/Timestamp.cxx
@@ -116,7 +116,7 @@ java_sql_Time::java_sql_Time( const ::com::sun::star::util::Time& _rOut ): java_
mID = t.pEnv->GetStaticMethodID( getMyClass(), "valueOf", cSignature );
OSL_ENSURE(mID,"Unknown method id!");
tempObj = t.pEnv->CallStaticObjectMethod( getMyClass(), mID, args[0].l );
- t.pEnv->DeleteLocalRef((jstring)args[0].l);
+ t.pEnv->DeleteLocalRef(static_cast<jstring>(args[0].l));
saveRef( t.pEnv, tempObj );
t.pEnv->DeleteLocalRef( tempObj );
// and clean