diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-01-15 19:51:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-01-16 10:24:22 +0100 |
commit | 612618d55c751bef15150c74a0f5903b6eabd056 (patch) | |
tree | 843470bbb1b9ccdd4d5c7a8d1b3029fbb564fe48 /sw/source/uibase | |
parent | 779ea1768a28a7042f5e931732f43864565c3c18 (diff) |
m_xDialog field now unused
Change-Id: Ic909d6b0102a9e276da2ea8efe86c20cf1aa01cc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86881
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/inc/navipi.hxx | 6 | ||||
-rw-r--r-- | sw/source/uibase/utlui/navipi.cxx | 7 |
2 files changed, 0 insertions, 13 deletions
diff --git a/sw/source/uibase/inc/navipi.hxx b/sw/source/uibase/inc/navipi.hxx index 7bee0d2e0197..74aae40af6e4 100644 --- a/sw/source/uibase/inc/navipi.hxx +++ b/sw/source/uibase/inc/navipi.hxx @@ -48,15 +48,9 @@ class SpinField; class SwNavHelpToolBox : public ToolBox { - VclPtr<SwNavigationPI> m_xDialog; virtual void RequestHelp( const HelpEvent& rHEvt ) override; - virtual void dispose() override; public: SwNavHelpToolBox(Window* pParent); - void SetDialog(SwNavigationPI* pDialog) - { - m_xDialog = pDialog; - } ~SwNavHelpToolBox() override; }; diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx index 9355b773c7cf..c74c49f5a2ce 100644 --- a/sw/source/uibase/utlui/navipi.cxx +++ b/sw/source/uibase/utlui/navipi.cxx @@ -424,12 +424,6 @@ void SwNavHelpToolBox::RequestHelp(const HelpEvent& rHEvt) ToolBox::RequestHelp(rHEvt); } -void SwNavHelpToolBox::dispose() -{ - m_xDialog.clear(); - ToolBox::dispose(); -} - SwNavHelpToolBox::~SwNavHelpToolBox() { disposeOnce(); @@ -558,7 +552,6 @@ SwNavigationPI::SwNavigationPI(SfxBindings* _pBindings, get(m_aContentToolBox, "content"); m_aContentToolBox->SetLineCount(2); m_aContentToolBox->InsertBreak(8); - m_aContentToolBox->SetDialog(this); get(m_aGlobalToolBox, "global"); get(m_aDocListBox, "documents"); |