From 7d7b289da49ccd7979f650222bfb669cd6b623de Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 2 Oct 2014 08:40:50 +0200 Subject: loplugin: cstylecast Change-Id: I114924d5e0407883b2e77016da3c2e3e55657b21 --- connectivity/source/drivers/jdbc/Timestamp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'connectivity/source/drivers/jdbc/Timestamp.cxx') 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(args[0].l)); saveRef( t.pEnv, tempObj ); t.pEnv->DeleteLocalRef( tempObj ); // and clean -- cgit