[Libreoffice-commits] core.git: sw/source
Michael Stahl (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jun 20 09:22:10 UTC 2019
sw/source/uibase/uiview/view2.cxx | 5 -----
1 file changed, 5 deletions(-)
New commits:
commit 5b8b7abda980ca662be61b4a5873e140b2431d9e
Author: Michael Stahl <Michael.Stahl at cib.de>
AuthorDate: Wed Jun 19 15:16:57 2019 +0200
Commit: Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Thu Jun 20 11:21:06 2019 +0200
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 at cib.de>
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();
More information about the Libreoffice-commits
mailing list