Kaydet (Commit) 9ef67136 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#88911 Crash when dragging unsupported url to navigator pane

Change-Id: I9d4fc8e3edac699c8543ab9dce8d0e35bbf40e5b
üst 115fdccd
...@@ -1112,10 +1112,14 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq ) ...@@ -1112,10 +1112,14 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
} }
} }
if ( pLinkItem ) if (pLinkItem)
{ {
SfxPoolItem* pRet = rReq.GetReturnValue()->Clone(); const SfxPoolItem* pRetValue = rReq.GetReturnValue();
pLinkItem->GetValue().Call(pRet); if (pRetValue)
{
SfxPoolItem* pClone = pRetValue->Clone();
pLinkItem->GetValue().Call(pClone);
}
delete pLinkItem; delete pLinkItem;
} }
} }
......
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