sax/source/tools/converter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b9bcc9c5c10841dcdfa9ff5814344ce667678df3 Author: Stephan Bergmann <[email protected]> Date: Tue Dec 17 17:29:58 2013 +0100 ...and nDigits > 9 is harmless in following for loop and need not be capped Change-Id: I30c4005e5983f5007edfed692b74f07b31899755 diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx index fda7cb4..8b0b616 100644 --- a/sax/source/tools/converter.cxx +++ b/sax/source/tools/converter.cxx @@ -1123,7 +1123,7 @@ bool Converter::convertDuration(util::Duration& rDuration, if (-1 != nTemp) { nNanoSeconds = nTemp; - sal_Int32 nDigits = std::min<sal_Int32>(nPos - nStart, 9); + sal_Int32 nDigits = nPos - nStart; assert(nDigits >= 0); for (; nDigits < 9; ++nDigits) { _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
