summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-03-11 16:10:43 +0200
committerTor Lillqvist <tml@collabora.com>2014-03-11 17:17:39 +0200
commit45d09ea2712fc56802a639a15f2e4ae6cacbc099 (patch)
tree5ccb0de512ecab0c794b1a5108c059bdf71bc0c3 /unotools
parent7b0b20bdd19bdf3903f5b3d623e8d8e110f6df3c (diff)
"overflow" is one word
Change-Id: Ib36c2c5d55f86aff27081a0da554f6e8a81474ee
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/misc/datetime.cxx4
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;