vcl/source/window/toolbox.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 22da3ae40027ff2d31f89cf92f0d4ad7217aed1e
Author: Caolán McNamara <[email protected]>
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() )
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits