From d430865f35b74706cd7a9b3cdab8084bc2068986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 21 Sep 2017 09:36:26 +0100 Subject: [PATCH] nothing to see here, move along Change-Id: I1dc03bb80562c4234e8a44bca0253dd3041a5151 --- tools/source/generic/fract.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx index e833ca4da692..799ac4575018 100644 --- a/tools/source/generic/fract.cxx +++ b/tools/source/generic/fract.cxx @@ -72,10 +72,10 @@ Fraction::Fraction( Fraction&& rFrac ) : mpImpl(std::move(rFrac.mpImpl)) // in order to return the correct value. Fraction::Fraction( sal_Int64 nNum, sal_Int64 nDen ) : mpImpl(new Impl) { - //assert( nNum >= std::numeric_limits::min() ); - //assert( nNum <= std::numeric_limits::max( )); - //assert( nDen >= std::numeric_limits::min() ); - //assert( nDen <= std::numeric_limits::max( )); + assert( nNum >= std::numeric_limits::min() ); + assert( nNum <= std::numeric_limits::max( )); + assert( nDen >= std::numeric_limits::min() ); + assert( nDen <= std::numeric_limits::max( )); if ( nDen == 0 ) { mpImpl->valid = false;