From 4c4a1caf0d4d223ff8479197160d121012c1c1ac Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 2 Apr 2020 15:33:34 +0200 Subject: loplugin:unusedfields Change-Id: I4abf2df75c54936e02a8a3d8fa26f2b249e69780 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91606 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/inc/conttree.hxx | 1 - sw/source/uibase/utlui/content.cxx | 3 --- 2 files changed, 4 deletions(-) (limited to 'sw/source') diff --git a/sw/source/uibase/inc/conttree.hxx b/sw/source/uibase/inc/conttree.hxx index 8df62857115f..28ea07a1c1de 100644 --- a/sw/source/uibase/inc/conttree.hxx +++ b/sw/source/uibase/inc/conttree.hxx @@ -111,7 +111,6 @@ class SwContentTree final : public SfxListener enum class State { ACTIVE, CONSTANT, HIDDEN } m_eState; - bool m_bDocChgdInDragging :1; bool m_bIsRoot :1; bool m_bIsIdleClear :1; bool m_bIsLastReadOnly :1; diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index fa20a29864ff..febda121a810 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -872,7 +872,6 @@ SwContentTree::SwContentTree(std::unique_ptr xTreeView, SwNaviga , m_nLastSelType(ContentTypeId::UNKNOWN) , m_nOutlineLevel(MAXLEVEL) , m_eState(State::ACTIVE) - , m_bDocChgdInDragging(false) , m_bIsRoot(false) , m_bIsIdleClear(false) , m_bIsLastReadOnly(false) @@ -2456,8 +2455,6 @@ void SwContentTree::SetHiddenShell(SwWrtShell* pSh) void SwContentTree::SetActiveShell(SwWrtShell* pSh) { - if (IsInDrag()) - m_bDocChgdInDragging = true; bool bClear = m_pActiveShell != pSh; if (State::ACTIVE == m_eState && bClear) { -- cgit v1.2.3