diff -uNr old/sc/source/ui/view/cellsh1.cxx new/sc/source/ui/view/cellsh1.cxx --- old/sc/source/ui/view/cellsh1.cxx 2006-11-01 20:50:42.000000000 +0800 +++ new/sc/source/ui/view/cellsh1.cxx 2007-03-07 09:22:34.000000000 +0800 @@ -2066,7 +2066,10 @@ 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(); } diff -uNr old/svx/source/dialog/cuihyperdlg.cxx new/svx/source/dialog/cuihyperdlg.cxx --- old/svx/source/dialog/cuihyperdlg.cxx 2006-11-01 19:05:14.000000000 +0800 +++ new/svx/source/dialog/cuihyperdlg.cxx 2007-02-06 13:59:26.000000000 +0800 @@ -294,7 +294,6 @@ aItemSet.GetItem (SID_HYPERLINK_SETLINK); String aStrEmpty; - if ( aItem->GetURL() != aStrEmpty ) GetDispatcher()->Execute( SID_HYPERLINK_SETLINK, SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD, aItem, 0L);