summaryrefslogtreecommitdiff
path: root/oox
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 /oox
parent7b0b20bdd19bdf3903f5b3d623e8d8e110f6df3c (diff)
"overflow" is one word
Change-Id: Ib36c2c5d55f86aff27081a0da554f6e8a81474ee
Diffstat (limited to 'oox')
-rw-r--r--oox/source/ppt/comments.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/ppt/comments.cxx b/oox/source/ppt/comments.cxx
index bf598c7e3386..efeabac0369c 100644
--- a/oox/source/ppt/comments.cxx
+++ b/oox/source/ppt/comments.cxx
@@ -42,14 +42,14 @@ void Comment::setDateTime (OUString datetime)
aDateTime.Seconds = floor(seconds);
seconds -= aDateTime.Seconds;
aDateTime.NanoSeconds = ::rtl::math::round(seconds * 1000000000);
- const int secondsOverFlow = (aDateTime.Seconds == 60) ? 61 : 60;
+ const int secondsOverflow = (aDateTime.Seconds == 60) ? 61 : 60;
// normalise time part of aDateTime
if (aDateTime.NanoSeconds == 1000000000)
{
aDateTime.NanoSeconds = 0;
++aDateTime.Seconds;
}
- if (aDateTime.Seconds == secondsOverFlow)
+ if (aDateTime.Seconds == secondsOverflow)
{
aDateTime.Seconds = 0;
++aDateTime.Minutes;