diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-16 09:12:26 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-16 09:12:26 +0200 |
commit | 5040e5038cc240b746db7badbc237d5bcd9cf690 (patch) | |
tree | 222e7bf5e7747460439da4c038f18d6414253eb7 /vcl/source | |
parent | d3d2453432a59fbba3a8f8c44260982bf67ec939 (diff) |
fix crash in CppunitTest_sw_uiwriter
Change-Id: I2411ce6d661f5bcbdc5e6d09f195ba6f15da24ba
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/toolbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index d2e330b5e858..f03a7ec273a6 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; |