svx/source/customshapes/EnhancedCustomShape2d.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 78ecfa8aafea457d29e1c5f327b75e14ae0b70ce Author: Caolán McNamara <caol...@redhat.com> Date: Mon Nov 20 14:42:31 2017 +0000 ofz#4338 Integer-overflow Change-Id: I6019da51dced0ef560490b7e7cf303b8193f17ce Reviewed-on: https://gerrit.libreoffice.org/44971 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx index e39e85e7fa05..51c11848de67 100644 --- a/svx/source/customshapes/EnhancedCustomShape2d.cxx +++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx @@ -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 ( ... ) {
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits