7e5f69aa33
This ctor is meant to set the value of nTime directly; and that value is not nanoseconds, but an encoded value, using SEC_/MIN_/HOUR_MASK. But in some places, this ctor was misused for setting of nanoseconds, which would only accidentally work for values less than one second. All places that initialized tools::Time with 0, now use EMPTY. This makes the ctor private; and for the very few cases where really the encoded value of nTime is stored / restored, fromEncodedTime is introduced. Change-Id: I1f1994bd9aab1b51a41b1de637619049fe820da4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175283 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> |
||
---|---|---|
.. | ||
b3dtrans.hxx | ||
bigint.hxx | ||
color.hxx | ||
config.hxx | ||
contnr.hxx | ||
cpuid.hxx | ||
date.hxx | ||
datetime.hxx | ||
datetimeutils.hxx | ||
debug.hxx | ||
degree.hxx | ||
duration.hxx | ||
extendapplicationenvironment.hxx | ||
fileutil.hxx | ||
fix16.hxx | ||
fldunit.hxx | ||
fontenum.hxx | ||
fract.hxx | ||
gen.hxx | ||
GenericTypeSerializer.hxx | ||
globname.hxx | ||
Guid.hxx | ||
helpers.hxx | ||
hostfilter.hxx | ||
inetmime.hxx | ||
inetmsg.hxx | ||
inetstrm.hxx | ||
json_writer.hxx | ||
line.hxx | ||
lineend.hxx | ||
link.hxx | ||
long.hxx | ||
mapunit.hxx | ||
multisel.hxx | ||
pathutils.hxx | ||
poly.hxx | ||
ref.hxx | ||
resary.hxx | ||
simdsupport.hxx | ||
solar.h | ||
stream.hxx | ||
svborder.hxx | ||
svlibrary.h | ||
tenccvt.hxx | ||
time.hxx | ||
toolsdllapi.h | ||
UniqueID.hxx | ||
UnitConversion.hxx | ||
urlobj.hxx | ||
vcompat.hxx | ||
weakbase.h | ||
weakbase.hxx | ||
wldcrd.hxx | ||
XmlWalker.hxx | ||
XmlWriter.hxx | ||
zcodec.hxx |