Kaydet (Commit) 1592e69b authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Andras Timar

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

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