[Libreoffice-commits] core.git: tools/source
Caolán McNamara
caolanm at redhat.com
Thu Sep 21 08:37:19 UTC 2017
tools/source/generic/fract.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit d430865f35b74706cd7a9b3cdab8084bc2068986
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Sep 21 09:36:26 2017 +0100
nothing to see here, move along
Change-Id: I1dc03bb80562c4234e8a44bca0253dd3041a5151
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;
More information about the Libreoffice-commits
mailing list