[Libreoffice-commits] core.git: Branch 'feature/vclptr' - vcl/source

Noel Grandin noel at peralex.com
Thu Apr 16 00:19:18 PDT 2015


 vcl/source/window/toolbox.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5040e5038cc240b746db7badbc237d5bcd9cf690
Author: Noel Grandin <noel at peralex.com>
Date:   Thu Apr 16 09:12:26 2015 +0200

    fix crash in CppunitTest_sw_uiwriter
    
    Change-Id: I2411ce6d661f5bcbdc5e6d09f195ba6f15da24ba

diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index d2e330b..f03a7ec 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -2664,7 +2664,7 @@ IMPL_LINK_NOARG(ToolBox, ImplDropdownLongClickHdl)
 IMPL_LINK_NOARG(ToolBox, ImplUpdateHdl)
 {
 
-    if( mbFormat )
+    if( mbFormat && mpData )
         ImplFormat();
 
     return 0;


More information about the Libreoffice-commits mailing list