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;