diff options
author | Balazs Santha <santha.balazs@simonyi.bme.hu> | 2021-07-20 15:54:01 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-07-22 16:34:47 +0200 |
commit | 689b5a4862ead541e54e83cb14067cfaa691e2ab (patch) | |
tree | ff6db8c6a0ada2e3f45a546ba8716370cc5d790f /.clang-format | |
parent | cf717f6d41dd3a2a582ee1478e83c281b18b9c3f (diff) |
tdf#143244 sw: fix redo of adding table rows breaks table style
This fixes a bug, which caused the break of table style when redo of inserting table rows, Normally, upon inserting a row, the formatting of the table is updated by the UpdateTableStyleFormatting() function.
In certain situations (e.g in the description of the bug) this update wasn't successful. This was beacuse, the update function didn't know which tableNode needs to be updated.
As the proper tableNode we need is already calculated in the SwTable::InsertRow function, we simply had to pass this argument too.
Change-Id: I81ebd7bb37eebc9be8974f3f7a1adc5ad4ba1e7d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119249
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions