summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-16 09:12:26 +0200
committerNoel Grandin <noel@peralex.com>2015-04-16 09:12:26 +0200
commit5040e5038cc240b746db7badbc237d5bcd9cf690 (patch)
tree222e7bf5e7747460439da4c038f18d6414253eb7 /vcl/source
parentd3d2453432a59fbba3a8f8c44260982bf67ec939 (diff)
fix crash in CppunitTest_sw_uiwriter
Change-Id: I2411ce6d661f5bcbdc5e6d09f195ba6f15da24ba
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/toolbox.cxx2
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;