From 9e03f6820417c9fcda27b49d9fa5a464f1255c84 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 10 Feb 2019 12:27:45 +0200 Subject: loplugin:indentation in lingucomponent..tools Change-Id: I96ed4c51ce3fe45c1cb69a7d7ff917f1e152462e Reviewed-on: https://gerrit.libreoffice.org/67607 Tested-by: Jenkins Reviewed-by: Noel Grandin --- tools/source/datetime/ttime.cxx | 4 ++-- tools/source/fsys/urlobj.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') 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) -- cgit