diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-10 12:27:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-11 07:00:45 +0100 |
commit | 9e03f6820417c9fcda27b49d9fa5a464f1255c84 (patch) | |
tree | 2736cfcb5fee7b0d397581faf380efc589155eb7 /tools | |
parent | 7df04009b98165f89c89f1e506ebafd2fecc8f5a (diff) |
loplugin:indentation in lingucomponent..tools
Change-Id: I96ed4c51ce3fe45c1cb69a7d7ff917f1e152462e
Reviewed-on: https://gerrit.libreoffice.org/67607
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/datetime/ttime.cxx | 4 | ||||
-rw-r--r-- | tools/source/fsys/urlobj.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/datetime/ttime.cxx b/tools/source/datetime/ttime.cxx index a843949ee3f0..b5b3e1c533a0 100644 --- a/tools/source/datetime/ttime.cxx +++ b/tools/source/datetime/ttime.cxx @@ -429,8 +429,8 @@ Time tools::Time::GetUTCOffset() gmtime_r( &nTime, &aTM ); nUTC = mktime( &aTM ); #endif - nCacheTicks = nTicks; - nCacheSecOffset = (nLocalTime-nUTC) / 60; + nCacheTicks = nTicks; + nCacheSecOffset = (nLocalTime-nUTC) / 60; } nTempTime = abs( nCacheSecOffset ); diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx index 445e27772955..bd6c25fa66ee 100644 --- a/tools/source/fsys/urlobj.cxx +++ b/tools/source/fsys/urlobj.cxx @@ -3246,7 +3246,7 @@ bool INetURLObject::insertName(OUString const & rTheName, bool bSkip = pPrefixEnd < pEnd && *pPrefixEnd == '/'; bInsertSlash = false; pSuffixBegin = pPathEnd; - while (nIndex-- > 0) + while (nIndex-- > 0) for (;;) { if (bSkip) |