[Libreoffice-commits] core.git: sfx2/source

Caolán McNamara caolanm at redhat.com
Tue Jul 26 10:53:57 UTC 2016


 sfx2/source/notebookbar/SfxNotebookBar.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 431730d7e846a6c3b3b574a7efb21d17a9eded21
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jul 26 11:52:58 2016 +0100

    crash on clicking links in offline help
    
    Change-Id: I59f9ca3293dacbf02af49215cd8334291927f324

diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx b/sfx2/source/notebookbar/SfxNotebookBar.cxx
index dc20c75..c09439d 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)


More information about the Libreoffice-commits mailing list