https://bugs.documentfoundation.org/show_bug.cgi?id=130981
Bug ID: 130981
Summary: Simplify uses of sal_math_Double
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: difficultyBeginner, easyHack, skillCpp, topicCleanup
Severity: enhancement
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
We have a helper union sal_math_Double (defined in include/sal/mathconf.h) to
help low-level access to double parts. It already has a member "value" of type
double, representing the resulting value.
Throughout the code, the union is sometimes used inside other unions along with
a double member, duplicating the already present "value". See e.g.
sc/source/filter/oox/biffhelper.cxx and include/rtl/math.hxx. These usages may
be simplified to avoid these extra unions (and e.g. drop DecodedDouble
completely from sc/source/filter/oox/biffhelper.cxx).
So the task is to look through all the uses of the union, and simplify those
unnecessary complications.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs