diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-19 11:04:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-19 15:37:52 +0000 |
commit | d4d5a91dd85de621b637c03ec499e3bdfa46d808 (patch) | |
tree | 1d8001ff8db016cd380c23f82f7f192736419d6e /svx | |
parent | 61309b2b49c91d31719f63d30e87ac6801216101 (diff) |
coverity#704837 Dereference after null check
Change-Id: I3b26473c6af7426b28818a4fa73f27295408acc3
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/tbxctrls/colrctrl.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/colrctrl.cxx b/svx/source/tbxctrls/colrctrl.cxx index a8946a934337..4c1391317a47 100644 --- a/svx/source/tbxctrls/colrctrl.cxx +++ b/svx/source/tbxctrls/colrctrl.cxx @@ -277,7 +277,8 @@ SvxColorDockingWindow::SvxColorDockingWindow SetSize(); aColorSet.Show(); - StartListening( *_pBindings, true ); + if (_pBindings != NULL) + StartListening( *_pBindings, true ); } |