nothing to see here, move along

Change-Id: I1dc03bb80562c4234e8a44bca0253dd3041a5151
This commit is contained in:
Caolán McNamara
2017-09-21 09:36:26 +01:00
parent e8b5ec6590
commit d430865f35

View File

@@ -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<sal_Int32>::min() );
//assert( nNum <= std::numeric_limits<sal_Int32>::max( ));
//assert( nDen >= std::numeric_limits<sal_Int32>::min() );
//assert( nDen <= std::numeric_limits<sal_Int32>::max( ));
assert( nNum >= std::numeric_limits<sal_Int32>::min() );
assert( nNum <= std::numeric_limits<sal_Int32>::max( ));
assert( nDen >= std::numeric_limits<sal_Int32>::min() );
assert( nDen <= std::numeric_limits<sal_Int32>::max( ));
if ( nDen == 0 )
{
mpImpl->valid = false;