summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/uibase/inc/navipi.hxx6
-rw-r--r--sw/source/uibase/utlui/navipi.cxx7
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");