diff options
-rw-r--r-- | sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx b/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx index fb188d69eafb..fc83c9287f84 100644 --- a/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx +++ b/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx @@ -145,7 +145,7 @@ Bitmap ResolutionReduction::Decompress (const BitmapReplacement& rBitmapData) co const ResolutionReducedReplacement* pData ( dynamic_cast<const ResolutionReducedReplacement*>(&rBitmapData)); - if ( ! pData->maPreview.IsEmpty()) + if ( pData && ! pData->maPreview.IsEmpty()) { aResult = pData->maPreview; if (pData->maOriginalSize.Width() > mnWidth) |