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@libreoffice.org>
diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx
index d1c07d3..88530cd 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();
}