diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-09-21 09:36:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-09-21 09:36:26 +0100 |
commit | d430865f35b74706cd7a9b3cdab8084bc2068986 (patch) | |
tree | b6a76d65edc86bf3966d87b3e83ea147c5cf7c38 /tools | |
parent | e8b5ec6590bbde63f3bbe50d049a3307d9d5682c (diff) |
nothing to see here, move along
Change-Id: I1dc03bb80562c4234e8a44bca0253dd3041a5151
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/generic/fract.cxx | 8 |
1 files 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<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; |