[Libreoffice-commits] core.git: sw/source
Bjoern Michaelsen (via logerrit)
logerrit at kemper.freedesktop.org
Mon Nov 2 20:44:03 UTC 2020
sw/source/core/docnode/ndtbl.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f899c28f210c6565b7227d7665d449f194d2af8e
Author: Bjoern Michaelsen <bjoern.michaelsen at libreoffice.org>
AuthorDate: Mon Nov 2 19:56:16 2020 +0100
Commit: Bjoern Michaelsen <bjoern.michaelsen at libreoffice.org>
CommitDate: Mon Nov 2 21:43:26 2020 +0100
ndtbl: remove remaining use of ModifyNotification
Change-Id: I31ccf872fbfaad9867e7e193491a525df46952e0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105198
Tested-by: Jenkins
Reviewed-by: Bjoern Michaelsen <bjoern.michaelsen at libreoffice.org>
diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx
index d1c07d36246b..88530cdb8c19 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) );
}
- SwMsgPoolItem aChg( RES_TBLHEADLINECHG );
+ const SwMsgPoolItem aChg(RES_TBLHEADLINECHG);
rTable.SetRowsToRepeat( nSet );
- rTable.GetFrameFormat()->ModifyNotification( &aChg, &aChg );
+ rTable.GetFrameFormat()->GetNotifier().Broadcast(sw::LegacyModifyHint(&aChg, &aChg));
getIDocumentState().SetModified();
}
More information about the Libreoffice-commits
mailing list