diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-09-20 11:51:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-09-20 17:22:51 +0200 |
commit | 7c98711c5ac80214901bf0c284bdb127d41d345c (patch) | |
tree | 7c7ad60977cdb5df841de9c4c370b772ae0f2937 /tools | |
parent | 7b75cfe32d9a8bfca87dcf424f95c19012d7d586 (diff) |
use aStripOffsets.size instead of nNumStripOffsets
Change-Id: I5d4f65beb7162aabe51fb932c3aec6a4f9b55684
Reviewed-on: https://gerrit.libreoffice.org/42542
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
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 799ac4575018..e833ca4da692 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; |