diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-10-28 21:52:18 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-10-29 08:41:47 +0100 |
commit | 5d1709a7c4184eb31cfc4c2d3acadff3a4a68189 (patch) | |
tree | 398ec3ac3bb7aa8b006fb88e3999b24f3bd79ef5 /compilerplugins/clang/overrideparam.cxx | |
parent | 4e7d4eac01f180b19aea98e1f40b4cffe3fd2aac (diff) |
tdf#104017 DOC export: be less aggressive with merging page styles
Regression from commit 7146d8bcd96f844dc0239a5b29a6b36c3cb5a2cc
(MSWordExportBase::OutputSectionBreaks: avoid fake section breaks,
2014-07-28), the problem was that we merged two separate page styles
just because they were similar. This resulted in merging two independent
tables into a single one.
Fix the problem by merging the first and follow page style only in case
the first page style is RES_POOLPAGE_FIRST, this resolves the current
problem and keeps the original problem fixed, too.
(Long-term, a better fix would be to not split the page styles in
writerfilter/, similar to how the DOC import doesn't do that anymore:
and then the merging can be avoided unconditionally.)
Change-Id: I357f1337cb0abc7fa1d88aa44ff87b4b464af81c
Reviewed-on: https://gerrit.libreoffice.org/81630
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'compilerplugins/clang/overrideparam.cxx')
0 files changed, 0 insertions, 0 deletions