diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-25 10:21:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-25 12:33:20 +0000 |
commit | d112c8e677e9c07fd0601c7efe41e3cca25d1b41 (patch) | |
tree | 2b5af676338d4ebbb0d5a0d9f8ddd7430c699520 /sw | |
parent | 3f731937454f47eec2d66ef8f61ef4bc097fb588 (diff) |
coverity#704953 Dereference after null check
Change-Id: I134feebf45ff83a78b1b9e691a2731990b8e3f21
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unodraw.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index 101f9986a3e2..bf91fd3e89e3 100644 --- a/sw/source/core/unocore/unodraw.cxx +++ b/sw/source/core/unocore/unodraw.cxx @@ -814,8 +814,8 @@ void SwXDrawPage::ungroup(const uno::Reference< drawing::XShapeGroup > & xShapeG FLY_AT_PARA/*int eAnchorId*/, true, false ); pDoc->GetIDocumentUndoRedo().EndUndo( UNDO_END, NULL ); + pPage->RemovePageView(); } - pPage->RemovePageView(); } } |