diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-22 16:27:38 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-22 16:27:38 +0000 |
commit | 5a7e3f67f15d6eac1cf7319f57eafbbce321e6f7 (patch) | |
tree | f1e8b69709d7d74b1065c4d0d4ed39fe8a78b99b /sfx2/source | |
parent | 78d382066a0437dca9e4e13668f99b08c27b78b0 (diff) |
coverity#705885 Dereference before null check
Change-Id: I4e032dc9b77b98cc5981f812958667fc908993da
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/dialog/dockwin.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx index a75af8c22a3a..bc42133cc972 100644 --- a/sfx2/source/dialog/dockwin.cxx +++ b/sfx2/source/dialog/dockwin.cxx @@ -619,8 +619,7 @@ void SfxDockingWindow::ToggleFloatingMode() pImp->SetDockAlignment(GetAlignment()); // Dock or undock SfxChildWindow correctly. - if ( pMgr ) - pWorkWin->ConfigChild_Impl( eIdent, SFX_TOGGLEFLOATMODE, pMgr->GetType() ); + pWorkWin->ConfigChild_Impl( eIdent, SFX_TOGGLEFLOATMODE, pMgr->GetType() ); } |