summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/uibase/uiview/view2.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/sw/source/uibase/uiview/view2.cxx b/sw/source/uibase/uiview/view2.cxx
index 6c045bc76b9a..e9d4475e31dc 100644
--- a/sw/source/uibase/uiview/view2.cxx
+++ b/sw/source/uibase/uiview/view2.cxx
@@ -650,11 +650,6 @@ void SwView::Execute(SfxRequest &rReq)
if( pArgs &&
SfxItemState::SET == pArgs->GetItemState(nSlot, false, &pItem))
{
- RedlineFlags nMode = ( ~RedlineFlags(RedlineFlags::ShowInsert | RedlineFlags::ShowDelete)
- & m_pWrtShell->GetRedlineFlags() ) | RedlineFlags::ShowInsert;
- if( static_cast<const SfxBoolItem*>(pItem)->GetValue() )
- nMode |= RedlineFlags::ShowDelete;
-
// tdf#125754 avoid recursive layout
// because all views share the layout, have to use AllAction
m_pWrtShell->StartAllAction();