Kaydet (Commit) 3cf8c9df authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz#9403 null deref

Change-Id: I6efa4be9f4feb4f92f96f7030f933e4a0c406b1e
Reviewed-on: https://gerrit.libreoffice.org/57435
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 095d749f
......@@ -2124,9 +2124,10 @@ void ImplSdPPTImport::FillSdAnimationInfo( SdAnimationInfo* pInfo, PptInteractiv
if ( !pPtr->aTarget.isEmpty() )
{
::sd::DrawDocShell* pDocShell = mpDoc->GetDocSh();
if ( pDocShell )
SfxMedium* pMedium = pDocShell ? pDocShell->GetMedium() : nullptr;
if (pMedium)
{
OUString aBaseURL = pDocShell->GetMedium()->GetBaseURL();
OUString aBaseURL = pMedium->GetBaseURL();
OUString aBookmarkURL( pInfo->GetBookmark() );
INetURLObject aURL( pPtr->aTarget );
if( INetProtocol::NotValid == aURL.GetProtocol()
......
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