Kaydet (Commit) 78ecfa8a authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz#4338 Integer-overflow

Change-Id: I6019da51dced0ef560490b7e7cf303b8193f17ce
Reviewed-on: https://gerrit.libreoffice.org/44971Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst e086b548
......@@ -882,11 +882,11 @@ double EnhancedCustomShape2d::GetEquationValueAsDouble( const sal_Int32 nIndex )
fNumber = aResult.fValue = (*vNodesSharedPtr[ nIndex ])();
aResult.bReady = true;
if ( !rtl::math::isFinite( fNumber ) )
fNumber = 0.0;
SAL_INFO("svx", "equation " << nLevel << " (level: " << seqEquations[nIndex] << "): "
<< fNumber << " --> " << 180.0*fNumber/10800000.0);
}
if ( !rtl::math::isFinite( fNumber ) )
fNumber = 0.0;
}
catch ( ... )
{
......
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