Kaydet (Commit) 2a2d6299 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1309049 Unchecked return value

Change-Id: I2140b14cab6640feb5c09421726a9b4eb97ba27b
üst 5c249854
......@@ -1201,7 +1201,8 @@ double SwXCell::GetForcedNumericalValue() const
nFIndex = pNumFormatter->GetStandardIndex( eLang );
}
double fTmp;
pNumFormatter->IsNumberFormat(const_cast<SwXCell*>(this)->getString(), nFIndex, fTmp);
if (!pNumFormatter->IsNumberFormat(const_cast<SwXCell*>(this)->getString(), nFIndex, fTmp))
::rtl::math::setNan(&fTmp);
return fTmp;
}
......
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