sal/rtl/math.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 9db395d02a87605834c4c74f163861c5cbd14548 Author: Eike Rathke <er...@redhat.com> Date: Tue Oct 4 19:48:40 2016 +0200
isRepresentableInteger: assert(fAbsValue >= 0.0) Change-Id: Idf140b312617e2a3a739cb5571d1b29ef700315c diff --git a/sal/rtl/math.cxx b/sal/rtl/math.cxx index 1df123bb..789c135 100644 --- a/sal/rtl/math.cxx +++ b/sal/rtl/math.cxx @@ -154,6 +154,7 @@ struct UStringTraits */ bool isRepresentableInteger(double fAbsValue) { + assert(fAbsValue >= 0.0); const sal_Int64 kMaxInt = (static_cast<sal_Int64>(1) << 53) - 1; if (fAbsValue <= static_cast<double>(kMaxInt)) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits