diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-07 11:52:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-07 15:47:26 +0100 |
commit | 5818415ded1685b7e635f2d759d9ac1b0b3cb27b (patch) | |
tree | d29a53e275b6d5f15a6f04ba989983f8b0d2c206 /sd | |
parent | 017d9b48aa7d7836d907d9fcb8d061fb0f1a859a (diff) |
coverity#735842 Explicit null dereferenced
Change-Id: I53112795f301679429afb8da4e01c77e4d2fe820
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 52ef73300ed7..5ef64b302556 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -1871,7 +1871,7 @@ void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& r vcl::PDFExtOutDevData* pPDFExtOutDevData = PTR_CAST( vcl::PDFExtOutDevData, pOut->GetExtOutDevData() ); if ( !( (mpDoc->GetSdPage((sal_Int16) nPageNumber-1, PK_STANDARD))->IsExcluded() ) || - pPDFExtOutDevData->GetIsExportHiddenSlides() ) + (pPDFExtOutDevData && pPDFExtOutDevData->GetIsExportHiddenSlides()) ) { ::sd::ClientView* pView = new ::sd::ClientView( mpDocShell, pOut, NULL ); Rectangle aVisArea = Rectangle( Point(), mpDoc->GetSdPage( (sal_uInt16)nPageNumber - 1, ePageKind )->GetSize() ); |