diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2016-05-04 22:20:42 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2016-05-10 21:38:40 +0200 |
commit | 4266caadbbe67fa23de0df3b84f4d923cfd57201 (patch) | |
tree | db93549a9c515f5ede12460c107bacc0ef17d473 /ucb | |
parent | 92849803822407301c79db98245711d054f8fe9b (diff) |
Assign 0 explicitly, avoiding intermediate downcasts
Change-Id: I43a9adeaf7078551a3447032fbf65affab817b15
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/ftp/ftpdirp.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/ftp/ftpdirp.hxx b/ucb/source/ucp/ftp/ftpdirp.hxx index 441d6a4cb488..6527569e110a 100644 --- a/ucb/source/ucp/ftp/ftpdirp.hxx +++ b/ucb/source/ucp/ftp/ftpdirp.hxx @@ -47,7 +47,7 @@ namespace ftp { void SetMonth(sal_uInt16 month) { Month = month; } void SetDay(sal_uInt16 day) { Day = day; } // Only zero allowed and used for time-argument - void SetTime(sal_uInt16) { Hours = Minutes = Seconds = NanoSeconds = 0; } + void SetTime(sal_uInt16) { Hours = 0; Minutes = 0; Seconds = 0; NanoSeconds = 0; } void SetHour(sal_uInt16 hours) { Hours = hours; } void SetMin(sal_uInt16 minutes) { Minutes = minutes; } void SetSec(sal_uInt16 seconds) { Seconds = seconds; } |