diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-05-09 09:55:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-05-09 12:28:03 +0200 |
commit | 82d018b402219b5452bb08aac2c060031bbc3298 (patch) | |
tree | a371ee459cf4ccfa722ba6344055fccd86d6f420 /formula/source | |
parent | 3a98352f7c03be67f7ceddd7fab48f8ef8a30849 (diff) |
loplugin:unusedfields
Change-Id: I8dc5a6ef84f43bad0bee26592b3a8e95c58e6f22
Reviewed-on: https://gerrit.libreoffice.org/72027
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'formula/source')
-rw-r--r-- | formula/source/ui/dlg/formula.cxx | 2 | ||||
-rw-r--r-- | formula/source/ui/dlg/structpg.cxx | 18 | ||||
-rw-r--r-- | formula/source/ui/dlg/structpg.hxx | 10 |
3 files changed, 0 insertions, 30 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index 73a8d30ed8ea..97b28f6a2009 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -148,7 +148,6 @@ public: ::std::map<const FormulaToken*, sheet::FormulaToken> m_aTokenMap; IFormulaEditorHelper* m_pHelper; weld::Dialog& m_rDialog; - weld::Builder& m_rParent; OUString m_aOldFormula; bool m_bStructUpdate; @@ -230,7 +229,6 @@ FormulaDlg_Impl::FormulaDlg_Impl(weld::Dialog& rDialog, : m_pFunctionOpCodesEnd(nullptr) , m_pHelper(_pHelper) , m_rDialog(rDialog) - , m_rParent(rBuilder) , m_bUserMatrixFlag(false) , m_aTitle1( ForResId( STR_TITLE1 ) ) , m_aTitle2( ForResId( STR_TITLE2 ) ) diff --git a/formula/source/ui/dlg/structpg.cxx b/formula/source/ui/dlg/structpg.cxx index 365eb20f3362..d83712f46576 100644 --- a/formula/source/ui/dlg/structpg.cxx +++ b/formula/source/ui/dlg/structpg.cxx @@ -57,24 +57,6 @@ void StructPage::SetActiveFlag(bool bFlag) bActiveFlag = bFlag; } -void StructListBox::MouseButtonDown( const MouseEvent& rMEvt ) -{ - bActiveFlag = true; - SvTreeListBox::MouseButtonDown(rMEvt); -} - -void StructListBox::GetFocus() -{ - bActiveFlag = true; - SvTreeListBox::GetFocus(); -} - -void StructListBox::LoseFocus() -{ - bActiveFlag = false; - SvTreeListBox::LoseFocus(); -} - StructPage::StructPage(weld::Container* pParent) : m_xBuilder(Application::CreateBuilder(pParent, "formula/ui/structpage.ui")) , m_xContainer(m_xBuilder->weld_container("StructPage")) diff --git a/formula/source/ui/dlg/structpg.hxx b/formula/source/ui/dlg/structpg.hxx index 092b29b055ae..389c907b7800 100644 --- a/formula/source/ui/dlg/structpg.hxx +++ b/formula/source/ui/dlg/structpg.hxx @@ -32,13 +32,6 @@ namespace formula class FormulaToken; class StructListBox : public SvTreeListBox { -private: - - bool bActiveFlag; - -protected: - virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; - public: StructListBox(vcl::Window* pParent, WinBits nBits ); @@ -50,9 +43,6 @@ public: SvTreeListEntry* pParent, sal_uLong nPos, const FormulaToken* pToken ); - - void GetFocus() override; - void LoseFocus() override; }; |