Kaydet (Commit) 77c0cc3b authored tarafından Markus Mohrhard's avatar Markus Mohrhard

coverity#736110: make clear that this is not part of the if

Change-Id: I709672e9e2789213c85878d2bd0194ad5bc34060
üst 30975b96
......@@ -46,7 +46,8 @@ java_sql_Date::java_sql_Date( const ::com::sun::star::util::Date& _rOut ) : java
jobject tempObj;
static jmethodID mID(NULL);
if ( !mID )
mID = t.pEnv->GetStaticMethodID( getMyClass(), "valueOf", cSignature );OSL_ENSURE(mID,"Unknown method id!");
mID = t.pEnv->GetStaticMethodID( getMyClass(), "valueOf", cSignature );
OSL_ENSURE(mID,"Unknown method id!");
tempObj = t.pEnv->CallStaticObjectMethod( getMyClass(), mID, args[0].l );
saveRef( t.pEnv, tempObj );
t.pEnv->DeleteLocalRef( tempObj );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment