On Fri, Jan 21, 2011 at 09:39:07AM +0100, David Tardon wrote:
On Fri, Jan 21, 2011 at 08:25:40AM +0100, Lionel Elie Mamane wrote:
FYI, the OpenOffice.org side fixed this in a way that seems more
robust to eventual future changes; you might want to push that way
into at least master (IMHO maybe not stable 3-3 branch, probably not
3-3-0).
It is "robust" in the sense that SvxLRSpaceItem::QueryValue already
performs cast to sal_Int32 if MID_L_MARGIN of MID_R_MARGIN member is
requested.
I think the idea is:
QueryValue is defined in the class itself; so at the same place as the
variable (member) that actually stores the value. So its type changes,
one can better hope that the methods of the class are updated
accordingly, than code in a different module...
--
Lionel
Context
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.