[Libreoffice-commits] core.git: Branch 'libreoffice-7-1-5' - sw/source
Bjoern Michaelsen (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jul 12 09:49:18 UTC 2021
sw/source/core/docnode/ndtbl.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 8d894294fa4cb006d1ddca846f8e44ed2b57d063
Author: Bjoern Michaelsen <bjoern.michaelsen at libreoffice.org>
AuthorDate: Sun Jul 4 11:58:07 2021 +0200
Commit: Michael Stahl <michael.stahl at allotropia.de>
CommitDate: Mon Jul 12 11:48:44 2021 +0200
tdf#140506: fix repeated table header switching
this fixes regression from f899c28f210c6565b7227d7665d449f194d2af8e,
which asssumed all frames to be listening to the Notifier of the
format. That is not (yet) the case.
Change-Id: Ib684842c571823eeb72824196ccfdb1df8179e85
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118370
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>
(cherry picked from commit 25e09087d8e2c5cecca1d548c69a263c7bf8b7ca)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118418
(cherry picked from commit dd4d221f77501eb36c816ade48869d385462f18c)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118423
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
Reviewed-by: Thorsten Behrens <thorsten.behrens at allotropia.de>
Tested-by: Michael Stahl <michael.stahl at allotropia.de>
diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx
index acca43916522..13ea311ea84f 100644
--- a/sw/source/core/docnode/ndtbl.cxx
+++ b/sw/source/core/docnode/ndtbl.cxx
@@ -2897,9 +2897,9 @@ void SwDoc::SetRowsToRepeat( SwTable &rTable, sal_uInt16 nSet )
std::make_unique<SwUndoTableHeadline>(rTable, rTable.GetRowsToRepeat(), nSet) );
}
+ rTable.SetRowsToRepeat(nSet);
const SwMsgPoolItem aChg(RES_TBLHEADLINECHG);
- rTable.SetRowsToRepeat( nSet );
- rTable.GetFrameFormat()->GetNotifier().Broadcast(sw::LegacyModifyHint(&aChg, &aChg));
+ rTable.GetFrameFormat()->CallSwClientNotify(sw::LegacyModifyHint(&aChg, &aChg));
getIDocumentState().SetModified();
}
More information about the Libreoffice-commits
mailing list