summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-25 10:21:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-25 12:33:20 +0000
commitd112c8e677e9c07fd0601c7efe41e3cca25d1b41 (patch)
tree2b5af676338d4ebbb0d5a0d9f8ddd7430c699520 /sw
parent3f731937454f47eec2d66ef8f61ef4bc097fb588 (diff)
coverity#704953 Dereference after null check
Change-Id: I134feebf45ff83a78b1b9e691a2731990b8e3f21
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/unocore/unodraw.cxx2
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();
}
}