Apache OpenOffice (AOO) Bugzilla – Attachment #43590: this is the patch file for issue #75113
const String& rURL = pHyper->GetURL();
const String& rTarget = pHyper->GetTargetFrame();
USHORT nType = (USHORT) pHyper->GetInsertMode();
String aEmptyStr;
if( rURL == aEmptyStr )
pTabViewShell->DeleteContents( IDF_HARDATTR | IDF_EDITATTR );
else
pTabViewShell->InsertURL( rName, rURL, rTarget, nType );
rReq.Done();
}
aItemSet.GetItem (SID_HYPERLINK_SETLINK);
String aStrEmpty;
if ( aItem->GetURL() != aStrEmpty )
GetDispatcher()->Execute( SID_HYPERLINK_SETLINK, SFX_CALLMODE_ASYNCHRON |
SFX_CALLMODE_RECORD, aItem, 0L);