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> |
||
---|---|---|
.. | ||
dtd | ||
inc/pch | ||
qa/cppunit | ||
source | ||
util | ||
CppunitTest_xmlscript_cppunit.mk | ||
IwyuFilter_xmlscript.yaml | ||
Library_xmlscript.mk | ||
Makefile | ||
Module_xmlscript.mk | ||
Package_dtd.mk | ||
README.md |
XML Dialogs
This code is used to (de)serialize basic dialogs to XML for storage inside documents. While the XML -appears- to have some hierarchical structure, that is only a fabrication, parsing and underlying toolkit widget structure is sadly linear and flat.