basctl/source/basicide/objdlg.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 4f92eb777ab17e0a2ee478572a46d060742902e1
Author: Caolán McNamara <caol...@redhat.com>
Date:   Thu Apr 21 16:09:37 2016 +0100

    Resolves: tdf#99425 crash when closing dialog editor
    
    with undocked "Object Catalog" toolbar
    
    Change-Id: I70d51cec699333c5cfc1461d61734c1bbb5323da

diff --git a/basctl/source/basicide/objdlg.cxx 
b/basctl/source/basicide/objdlg.cxx
index d8b9538..2371c3f 100644
--- a/basctl/source/basicide/objdlg.cxx
+++ b/basctl/source/basicide/objdlg.cxx
@@ -98,8 +98,11 @@ void ObjectCatalog::ToggleFloatingMode ()
 }
 
 // ArrangeWindows() -- arranges the controls to the size of the ObjectCatalog
-void ObjectCatalog::ArrangeWindows ()
+void ObjectCatalog::ArrangeWindows()
 {
+    if (!aTitle || !aTree)
+        return;
+
     Size const aSize = GetOutputSizePixel();
     bool const bFloating = IsFloatingMode();
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to