diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 14:47:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 14:47:18 +0000 |
commit | 66c8930012caf53721614e1591e519bf8ab03c73 (patch) | |
tree | e4ae662b3bf226d7d4f9921c2417917cafdd5d4f /sd/source | |
parent | 6cccfd6c63a0aac35770de3f712de14fc32fbb1d (diff) |
coverity#704737 Dereference after null check
Change-Id: Icf30f9acf70c0dd367bad3f5711e71d9ab125ce9
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/app/sdmod1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx index 7310418dc867..584b5df403c0 100644 --- a/sd/source/ui/app/sdmod1.cxx +++ b/sd/source/ui/app/sdmod1.cxx @@ -286,7 +286,7 @@ void SdModule::OutlineToImpress (SfxRequest& rRequest) ::sd::ViewShell* pViewSh = pDocSh->GetViewShell(); - if (pViewSh) + if (pViewSh && pDoc) { // AutoLayouts have to be finished pDoc->StopWorkStartupDelay(); |