Kaydet (Commit) 7ee90f9e authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Norbert Thiebaud

pClientData can be null

Change-Id: I9375f84affdaef30d9b1ded31525e6b7b8709cbc
(cherry picked from commit 7d4c77e3)
Reviewed-on: https://gerrit.libreoffice.org/18149Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNorbert Thiebaud <nthiebaud@gmail.com>
üst 18d44744
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment