diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2019-06-19 15:16:57 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2019-06-20 11:21:06 +0200 |
commit | 5b8b7abda980ca662be61b4a5873e140b2431d9e (patch) | |
tree | 827b492ed95f04eb95f872f08ab3924528aac159 /sw | |
parent | dd489bc01adc22fc5015ea56b61d66104af184a8 (diff) |
sw: remove some obsolete code in SwView::Execute()
Change-Id: I9e982ef92773c5a968890a97efb796818141abdf
Reviewed-on: https://gerrit.libreoffice.org/74370
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/uiview/view2.cxx | 5 |
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(); |