From b5dfe9b95fa0f995542c151d8e1b79a03e91c626 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 28 Jun 2016 13:40:25 +0300 Subject: Drop overflow warning that was produced repeatedly on Windows I see hundreds of the "'operator *=' detected overflow" warnings on Windows doing perfectly normal things. The call site for those explicitly checks anyway for an invalid (overflowed) result. (Sure, there might be other call sites where the warning possibly had some degree of usefulness because an overflowed result is not checked for. I am willing to take the risk.) Change-Id: Ie88ad11d159ee7aa505c22633a7e2cda1246ff31 --- tools/source/generic/fract.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'tools') diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx index 12530c7f7d42..78069a54fb53 100644 --- a/tools/source/generic/fract.cxx +++ b/tools/source/generic/fract.cxx @@ -182,7 +182,6 @@ Fraction& Fraction::operator *= ( const Fraction& rVal ) if ( HasOverflowValue() ) { mpImpl->valid = false; - SAL_WARN( "tools.fraction", "'operator *=' detected overflow" ); } return *this; -- cgit