diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-21 16:47:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-22 07:40:33 +0100 |
commit | c50357ff625972464d1a591afe4198d3f6f42a39 (patch) | |
tree | 6d10334c4af64b7c138f7c780e690659e66fd3f8 /sw/source/uibase | |
parent | 131cc96a890b8988703532d09773bb0bde20ee8a (diff) |
loplugin:unusedfields in sw
Change-Id: Id68a01042f8398d7d4803a9ce7eb03620732f1ce
Reviewed-on: https://gerrit.libreoffice.org/68163
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/dbui/mmconfigitem.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/inc/conpoly.hxx | 3 | ||||
-rw-r--r-- | sw/source/uibase/inc/mmconfigitem.hxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/inc/wrap.hxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/ribbar/conpoly.cxx | 9 |
5 files changed, 1 insertions, 17 deletions
diff --git a/sw/source/uibase/dbui/mmconfigitem.cxx b/sw/source/uibase/dbui/mmconfigitem.cxx index e42f6e774278..3c641d4dbc0b 100644 --- a/sw/source/uibase/dbui/mmconfigitem.cxx +++ b/sw/source/uibase/dbui/mmconfigitem.cxx @@ -1543,7 +1543,6 @@ void SwMailMergeConfigItem::DocumentReloaded() { m_bGreetingInserted = false; m_bAddressInserted = false; - m_rAddressBlockFrame.clear(); } bool SwMailMergeConfigItem::IsMailAvailable() const diff --git a/sw/source/uibase/inc/conpoly.hxx b/sw/source/uibase/inc/conpoly.hxx index f3276e3a2fef..f44ed07d5adc 100644 --- a/sw/source/uibase/inc/conpoly.hxx +++ b/sw/source/uibase/inc/conpoly.hxx @@ -24,15 +24,12 @@ // base class for all functions class ConstPolygon : public SwDrawBase { - Point aLastPos; - public: ConstPolygon(SwWrtShell* pSh, SwEditWin* pWin, SwView* pView); // Mouse- & Key-Events virtual bool MouseMove(const MouseEvent& rMEvt) override; virtual bool MouseButtonUp(const MouseEvent& rMEvt) override; - virtual bool MouseButtonDown(const MouseEvent& rMEvt) override; virtual void Activate(const sal_uInt16 nSlotId) override; // activate function }; diff --git a/sw/source/uibase/inc/mmconfigitem.hxx b/sw/source/uibase/inc/mmconfigitem.hxx index 9064bd2b220b..f6f6f66eb58b 100644 --- a/sw/source/uibase/inc/mmconfigitem.hxx +++ b/sw/source/uibase/inc/mmconfigitem.hxx @@ -56,7 +56,6 @@ class SW_DLLPUBLIC SwMailMergeConfigItem bool m_bAddressInserted; bool m_bGreetingInserted; sal_Int32 m_nGreetingMoves; - OUString m_rAddressBlockFrame; std::set<sal_Int32> m_aExcludedRecords; css::uno::Reference<css::view::XSelectionChangeListener> m_xDBChangedListener; @@ -207,10 +206,9 @@ public: //session information bool IsAddressInserted() const { return m_bAddressInserted; } - void SetAddressInserted(const OUString& rFrameName) + void SetAddressInserted() { m_bAddressInserted = true; - m_rAddressBlockFrame = rFrameName; } bool IsGreetingInserted() const diff --git a/sw/source/uibase/inc/wrap.hxx b/sw/source/uibase/inc/wrap.hxx index 7b397a797e2e..c0d73b256e8b 100644 --- a/sw/source/uibase/inc/wrap.hxx +++ b/sw/source/uibase/inc/wrap.hxx @@ -38,7 +38,6 @@ class SwWrapTabPage: public SfxTabPage RndStdIds m_nAnchorId; sal_uInt16 m_nHtmlMode; - Size m_aFrameSize; SwWrtShell* m_pWrtSh; bool m_bFormat; diff --git a/sw/source/uibase/ribbar/conpoly.cxx b/sw/source/uibase/ribbar/conpoly.cxx index ad573d06a80c..247306be78b6 100644 --- a/sw/source/uibase/ribbar/conpoly.cxx +++ b/sw/source/uibase/ribbar/conpoly.cxx @@ -33,15 +33,6 @@ ConstPolygon::ConstPolygon(SwWrtShell* pWrtShell, SwEditWin* pEditWin, SwView* p { } -bool ConstPolygon::MouseButtonDown(const MouseEvent& rMEvt) -{ - bool bReturn = SwDrawBase::MouseButtonDown(rMEvt); - if (bReturn) - aLastPos = rMEvt.GetPosPixel(); - - return bReturn; -} - bool ConstPolygon::MouseMove(const MouseEvent& rMEvt) { bool bReturn = SwDrawBase::MouseMove(rMEvt); |