diff options
-rw-r--r-- | sax/source/tools/converter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx index fda7cb48700f..8b0b616b36e1 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) { |