diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-07 11:43:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-07 12:19:24 +0000 |
commit | 9e93e06529d4d30fdd620117f37341fe881e5786 (patch) | |
tree | 41c98faaea986984d9ee4871191339df6e094d71 /sd | |
parent | 4c69b0c00fb85a82905be61cba2fc6440344332a (diff) |
coverity#735843 Dereference after null check
Change-Id: I67909a2bc1ba411b5809a83be72716045034af19
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index 4e6f3af4cf3c..1206c870d0cb 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -1923,7 +1923,7 @@ void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& r pPV, pPDFExtOutDevData ); // background color for outliner :o - SdPage* pPage = (SdPage*)pPV->GetPage(); + SdPage* pPage = pPV ? (SdPage*)pPV->GetPage() : NULL; if( pPage ) { SdrOutliner& rOutl = mpDoc->GetDrawOutliner( NULL ); |