summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-08-30 20:14:16 +0100
committerAndras Timar <andras.timar@collabora.com>2015-08-31 15:12:11 +0200
commit887ce997a711628352ea4504183461bb79075718 (patch)
tree8e6af1c2dd3e62744dd52fcd5f6aa6364dd70129 /filter
parent41a545ec0737cca447f68a4b22ed7abf11d32677 (diff)
pClientData can be null
Change-Id: I9375f84affdaef30d9b1ded31525e6b7b8709cbc (cherry picked from commit 7d4c77e374310bef538465d11980d1d610cbe0f1) Reviewed-on: https://gerrit.libreoffice.org/18149 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/svdfppt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 42f8b1bcb3ec..d952684423b9 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -2587,7 +2587,7 @@ bool SdrPowerPointImport::GetColorFromPalette( sal_uInt16 nNum, Color& rColor )
bool SdrPowerPointImport::SeekToShape( SvStream& rSt, void* pClientData, sal_uInt32 nId ) const
{
bool bRet = SvxMSDffManager::SeekToShape( rSt, pClientData, nId );
- if ( !bRet )
+ if (!bRet && pClientData)
{
ProcessData& rData = *static_cast<ProcessData*>(pClientData);
PptSlidePersistEntry& rPersistEntry = rData.rPersistEntry;