[Libreoffice] NEW [PATCH] i#116187: report left/right page margin setting ignored on Unix 64 bit

Lionel Elie Mamane lionel at mamane.lu
Thu Jan 20 23:25:40 PST 2011


On Sat, Jan 15, 2011 at 08:00:05PM +0000, Caolán McNamara wrote:
> On Sat, 2011-01-15 at 05:59 +0100, Lionel Elie Mamane wrote:
>> Does not fit release blocker criteria, but would still be *very* nice
>> to have for the release, as it easily fixes / papers over a rather
>> annoying / stupid (from the user's point of view) bug:

> I pushed this to master and to the stable 3-3 branch, thanks for
> this.

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).

OTOH, if that's the robust way, why is it not the idiom to get the
value *everywhere*? I mean, why not replace *all* the

  xProp->setPropertyValue(FOO,  uno::makeAny(static_cast<BAR*>(BAZ)->QUX()));

by

  static_cast<const BAR*>(BAZ)->QueryValue(aValue,QUUX);
  xProp->setPropertyValue(FOO,aValue);
instead of only for the left/right margin? At least for those BARs
where a QueryValue interface is available.


More information about the LibreOffice mailing list