diff options
author | Balazs Santha <santha.balazs@simonyi.bme.hu> | 2021-07-14 15:18:47 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-07-15 16:04:56 +0200 |
commit | 554c3692b7e3b51ce6ce7772509ba7a2e8777d3a (patch) | |
tree | edcb91346818a303de171fd94966001b3a931b00 /unoidl | |
parent | 0e7021de592b07894c57ab920acb40e10be8b26e (diff) |
tdf#134452 sw: fix page break disappears after applying table style
After setting the break and pagedesc property of a table, applying a table style (autoformat) caused the loss of these settings.
This was because, when applying a table style, the SwTableAutoFormat::RestoreTableProperties() overrid these settings with its own default settings.
As the autoformats can never be modified, and they don't really use these two props, the easiest way to prevent any problem was to completely remove these properties and its uses.
Unfortunately, m_aBreak couldn't be removed entirely, as the autoformats are stored in a binary file, and to be able to read and write these files the offset of the subsequent items must not be changed.
Change-Id: Ieba439d3ba5da892b39f00f8b61c5c8467306635
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118662
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'unoidl')
0 files changed, 0 insertions, 0 deletions