tdf#103025 sw: don't format header/footer in SwPageFrame::PreparePage()
This has always been dead code because it used wrong constants FRMTYPE_HEADER|FRMTYPE_FOOTER which is actually Page|Column and SwPageFrame and SwColumnFrame are not direct children of SwPageFrame. Then commit 901e5c3a fixed the constants but somehow the early formatting of header/footer results in wrong expansion of variable text fields, so just remove this code. (cherry picked from commit f933da55) Change-Id: I0af13168970f26355a1b247e071235166d08b7a4 Reviewed-on: https://gerrit.libreoffice.org/29558Tested-by:Jenkins <ci@libreoffice.org> Reviewed-by:
Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit 63ba0dc9) Reviewed-on: https://gerrit.libreoffice.org/29667Reviewed-by:
jan iversen <jani@documentfoundation.org> Tested-by:
jan iversen <jani@documentfoundation.org>
Showing
File added
Please
register
or
sign in
to comment