summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-26 11:52:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-26 11:52:58 +0100
commit431730d7e846a6c3b3b574a7efb21d17a9eded21 (patch)
treedf5dffc090b1cdd7e56fec25dc5caa72d3beeb0a /sfx2
parentcca7d0df5d38401ae4ed5cbbf3d5fbcb7d0cb511 (diff)
crash on clicking links in offline help
Change-Id: I59f9ca3293dacbf02af49215cd8334291927f324
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/notebookbar/SfxNotebookBar.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx b/sfx2/source/notebookbar/SfxNotebookBar.cxx
index dc20c7528bbb..c09439d6d7a6 100644
--- a/sfx2/source/notebookbar/SfxNotebookBar.cxx
+++ b/sfx2/source/notebookbar/SfxNotebookBar.cxx
@@ -35,10 +35,7 @@ css::uno::Reference<css::frame::XFrame> SfxNotebookBar::m_xFrame;
void SfxNotebookBar::CloseMethod(SfxBindings& rBindings)
{
SfxFrame& rFrame = rBindings.GetDispatcher_Impl()->GetFrame()->GetFrame();
- if (rFrame.GetSystemWindow()->GetNotebookBar())
- rFrame.GetSystemWindow()->CloseNotebookBar();
- m_xLayoutManager.clear();
- m_xFrame.clear();
+ CloseMethod(rFrame.GetSystemWindow());
}
void SfxNotebookBar::CloseMethod(SystemWindow* pSysWindow)