summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/source/datetime/ttime.cxx4
-rw-r--r--tools/source/fsys/urlobj.cxx2
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)