summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/unoidl')
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx2
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 );