tdf#124162: Crash when trying to accept changes
Change-Id: If4a4034a891d6539b183f6083c0711b05ef7692d
Reviewed-on: https://gerrit.libreoffice.org/69441
Tested-by: Jenkins
Reviewed-by: Aron Budea <aron.budea@collabora.com>
(cherry picked from commit 2ac8d81a00bc9061f88dfd13a6a08873d92a5b86)
Reviewed-on: https://gerrit.libreoffice.org/69450
Reviewed-by: Henry Castro <hcastro@collabora.com>
diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx
index 2e048d7..c3a6711 100644
--- a/sw/source/uibase/uiview/view.cxx
+++ b/sw/source/uibase/uiview/view.cxx
@@ -1692,10 +1692,10 @@ void SwView::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
case SfxHintId::RedlineChanged:
{
static sal_uInt16 const aSlotRedLine[] = {
FN_REDLINE_NEXT_CHANGE,
FN_REDLINE_PREV_CHANGE,
FN_REDLINE_ACCEPT_DIRECT,
FN_REDLINE_REJECT_DIRECT,
FN_REDLINE_NEXT_CHANGE,
FN_REDLINE_PREV_CHANGE,
FN_REDLINE_ACCEPT_ALL,
FN_REDLINE_REJECT_ALL,
0