diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-06 10:29:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-06 11:32:54 +0100 |
commit | ca1b74f647ebcd5eb8e7e6447d5b21b890d5460f (patch) | |
tree | 7c3f074bd2dc8c3708424f28cdeb1d67505c66ea /sfx2 | |
parent | 9af87824936f2334cc6420768e81a624f36a1dc8 (diff) |
coverity#704789 Dereference after null check
Change-Id: Iac238d68502cab137ce1530bffca4909cd9ea956
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/workwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index e952a7414468..392ba876a134 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -1785,7 +1785,7 @@ void SfxWorkWindow::ConfigChild_Impl(SfxChildIdentifier eChild, { case SFX_SETDOCKINGRECTS : { - if ( nPos == USHRT_MAX ) + if (nPos == USHRT_MAX || !pDockWin) return; Rectangle aOuterRect( GetTopRect_Impl() ); |