On Thursday 11 of August 2011, Eike Rathke wrote:
2) Why should GetSec() of a negative delta return a negative amount of
seconds?
I didn't say it should be negative, it just should be sane. Which in this
case should be ... uhm ... oh well, another botched API.
The probability that something would break if you just "fixed" #2 is
quite high. The only way to make sure is to temporarily make the methods
private, build the entire office and inspect each and every place the
compiler complains about.
Hint: It's simpler to check usage of something (no compilation errors) by
marking it as deprecated, building with that and grepping the output for
deprecation warnings.
--
Lubos Lunak
l.lunak@suse.cz
Context
- Re: [Libreoffice] Class Time and its funny ideas about time (continued)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.