summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/source/datetime/ttime.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/datetime/ttime.cxx b/tools/source/datetime/ttime.cxx
index b5b3e1c533a0..068787dfe389 100644
--- a/tools/source/datetime/ttime.cxx
+++ b/tools/source/datetime/ttime.cxx
@@ -426,8 +426,8 @@ Time tools::Time::GetUTCOffset()
// Linux mktime() seems not to handle tm_isdst correctly
nUTC = nLocalTime - aTM.tm_gmtoff;
#else
- gmtime_r( &nTime, &aTM );
- nUTC = mktime( &aTM );
+ gmtime_r( &nTime, &aTM );
+ nUTC = mktime( &aTM );
#endif
nCacheTicks = nTicks;
nCacheSecOffset = (nLocalTime-nUTC) / 60;