summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-02-20 14:01:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-02-21 09:14:14 +0100
commit6333dcf6f18c5d5a03e5daa267f89c06a528b698 (patch)
treee5d5246bd595e0a647b6cac436aba5d4f4351259 /tools
parent07f24df0e8dbc035f2f9a24c12879848a1f318f1 (diff)
loplugin:indentation (macOS)
* Some .m/.mm files that still contained tabs instead of spaces have been cleaned up with Emacs' untabify (and apple_remote/source/HIDRemoteControlDevice.m needed further manual adaptions): apple_remote/source/GlobalKeyboardDevice.m apple_remote/source/HIDRemoteControlDevice.m apple_remote/source/KeyspanFrontRowControl.m apple_remote/source/RemoteControl.m vcl/osx/a11yrolehelper.mm * Some of the changes predate 0626e66d761de18f62e4d00d427903032da9d517 "Avoid loplugin:indentation after preproc conditional inclusion lines" and would likely have no longer been flagged since. Change-Id: Ibf5faffa743c7f79b36109d9879eb79d63c8c40f Reviewed-on: https://gerrit.libreoffice.org/68090 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
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;