diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-11-14 09:58:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-14 12:02:45 +0000 |
commit | 70d810faa876245a3d76c22c0cbc12ad62376e6d (patch) | |
tree | 4693d76abd75510b51e44d5238adfcbbcf90f42b /sw/source/uibase/docvw/edtwin.cxx | |
parent | 0332e3a8e968f9f85b40405391120d2f5949fbd2 (diff) |
coverity#982483 Dereference after null check
Change-Id: I0e6db75e0c1dc5b26f2c251bdb4e37b5df8b3778
Diffstat (limited to 'sw/source/uibase/docvw/edtwin.cxx')
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index e12fce28cfb9..329944b452b0 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -3999,7 +3999,7 @@ void SwEditWin::MouseMove(const MouseEvent& _rMEvt) if ( m_bIsInMove || IsMinMove( m_aStartPos, aPixPt ) ) { // event processing for resizing - if( pSdrView->AreObjectsMarked() ) + if (pSdrView && pSdrView->AreObjectsMarked()) { const SwFrmFmt* pFlyFmt; const SvxMacro* pMacro; |