diff options
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/misc/datetime.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/misc/datetime.cxx b/unotools/source/misc/datetime.cxx index 96de5106f388..71861c34b6c4 100644 --- a/unotools/source/misc/datetime.cxx +++ b/unotools/source/misc/datetime.cxx @@ -464,13 +464,13 @@ bool ISO8601parseTime(const OUString &aTimeStr, starutil::Time& rTime) if (bSuccess) { // normalise time - const int secondsOverFlow = (nSec == 60) ? 61 : 60; + const int secondsOverflow = (nSec == 60) ? 61 : 60; if (nNanoSec == 1000000000) { nNanoSec = 0; ++nSec; } - if(nSec == secondsOverFlow) + if(nSec == secondsOverflow) { nSec = 0; ++nMin; |