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

Caolán McNamara caolanm at redhat.com
Tue May 5 13:06:42 PDT 2015


 vcl/source/window/toolbox.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 22da3ae40027ff2d31f89cf92f0d4ad7217aed1e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue May 5 21:06:09 2015 +0100

    VclPtr: crash on exit on impress
    
    Change-Id: I3f81128b58992db68263fb6c8d2a94cbae855632

diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index de02402..5c0c541 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -4498,6 +4498,9 @@ void ToolBox::ToggleFloatingMode()
 {
     DockingWindow::ToggleFloatingMode();
 
+    if (!mpData)
+        return;
+
     bool mbOldHorz = mbHorz;
 
     if ( ImplIsFloatingMode() )


More information about the Libreoffice-commits mailing list