[PUSHED][3-4][3-5] fdo#39694, fdo#42073 Writer field expansion regression bugs

Miklos Vajna vmiklos at suse.cz
Mon Mar 5 06:03:42 PST 2012

On Mon, Mar 05, 2012 at 12:40:04PM +0100, Michael Stahl <mstahl at redhat.com> wrote:
> some time ago i noticed that some text fields in writer can only be
> expanded properly in the text formatting, and so tried to prevent
> expansion of fields in lots of other places (in CWS sw34bf01);
> it seems that that went a bit past the mark, and some API methods now
> fail if they are invoked before the layout gets around to format the
> text field (i.e. the methods return stale cached data).
> these fixes should be applied to libreoffice-3-4, libreoffice-3-5, and
> perhaps libreoffice-3-5-1 as well:
> http://cgit.freedesktop.org/libreoffice/core/commit/?id=9519deda120b73b72e75d89c3b2ae3d66220ec2d
> http://cgit.freedesktop.org/libreoffice/core/commit/?id=e3dfae0741aae8581cd3fc713ba1b4459bb22d88

I've pushed these to -3-5 and -3-4.

> the following commits add junit tests for the bugs:
> http://cgit.freedesktop.org/libreoffice/core/commit/?id=0982257e5902a29c3faf90c0fa3dba809a2462e5
> http://cgit.freedesktop.org/libreoffice/core/commit/?id=870e5a8e8251967b513b4255231ee9665b085431
> http://cgit.freedesktop.org/libreoffice/core/commit/?id=72a3c7a2778c493ef1d3f740a0b4b14f805c624a

I've pushed these to -3-5; in -3-4 make subsequent test fails already in
sw here, so I did not touch that.

More information about the LibreOffice mailing list