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 | |
parent | coverity#704736 Dereference after null check (diff) | |
download | core-66c8930012caf53721614e1591e519bf8ab03c73.tar.gz core-66c8930012caf53721614e1591e519bf8ab03c73.zip |
coverity#704737 Dereference after null check
Change-Id: Icf30f9acf70c0dd367bad3f5711e71d9ab125ce9
Diffstat (limited to 'sd')
-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(); |