Kaydet (Commit) d1d1633a authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS fwkfinal8 (1.24.206); FILE MERGED

2005/04/01 09:55:38 pb 1.24.206.1: fix: #i45268# target button initialized
üst 22312dcf
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: hlinettp.cxx,v $ * $RCSfile: hlinettp.cxx,v $
* *
* $Revision: 1.24 $ * $Revision: 1.25 $
* *
* last change: $Author: kz $ $Date: 2005-01-21 16:37:10 $ * last change: $Author: obo $ $Date: 2005-04-18 11:53:05 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -155,17 +155,16 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent, ...@@ -155,17 +155,16 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent,
/////////////////////////////////////// ///////////////////////////////////////
// overload handlers // overload handlers
maRbtLinktypInternet.SetClickHdl( LINK ( this, SvxHyperlinkInternetTp, Click_SmartProtocol_Impl ) ); Link aLink( LINK ( this, SvxHyperlinkInternetTp, Click_SmartProtocol_Impl ) );
maRbtLinktypFTP.SetClickHdl ( LINK ( this, SvxHyperlinkInternetTp, Click_SmartProtocol_Impl ) ); maRbtLinktypInternet.SetClickHdl( aLink );
maRbtLinktypTelnet.SetClickHdl ( LINK ( this, SvxHyperlinkInternetTp, Click_SmartProtocol_Impl ) ); maRbtLinktypFTP.SetClickHdl ( aLink );
maRbtLinktypTelnet.SetClickHdl ( aLink );
maCbAnonymous.SetClickHdl ( LINK ( this, SvxHyperlinkInternetTp, ClickAnonymousHdl_Impl ) ); maCbAnonymous.SetClickHdl ( LINK ( this, SvxHyperlinkInternetTp, ClickAnonymousHdl_Impl ) );
maBtBrowse.SetClickHdl ( LINK ( this, SvxHyperlinkInternetTp, ClickBrowseHdl_Impl ) ); maBtBrowse.SetClickHdl ( LINK ( this, SvxHyperlinkInternetTp, ClickBrowseHdl_Impl ) );
maBtTarget.SetClickHdl ( LINK ( this, SvxHyperlinkInternetTp, ClickTargetHdl_Impl ) ); maBtTarget.SetClickHdl ( LINK ( this, SvxHyperlinkInternetTp, ClickTargetHdl_Impl ) );
maEdLogin.SetModifyHdl ( LINK ( this, SvxHyperlinkInternetTp, ModifiedLoginHdl_Impl ) ); maEdLogin.SetModifyHdl ( LINK ( this, SvxHyperlinkInternetTp, ModifiedLoginHdl_Impl ) );
maCbbTarget.SetLoseFocusHdl ( LINK ( this, SvxHyperlinkInternetTp, LostFocusTargetHdl_Impl ) ); maCbbTarget.SetLoseFocusHdl ( LINK ( this, SvxHyperlinkInternetTp, LostFocusTargetHdl_Impl ) );
maCbbTarget.SetModifyHdl ( LINK ( this, SvxHyperlinkInternetTp, ModifiedTargetHdl_Impl ) ); maCbbTarget.SetModifyHdl ( LINK ( this, SvxHyperlinkInternetTp, ModifiedTargetHdl_Impl ) );
maTimer.SetTimeoutHdl ( LINK ( this, SvxHyperlinkInternetTp, TimeoutHdl_Impl ) ); maTimer.SetTimeoutHdl ( LINK ( this, SvxHyperlinkInternetTp, TimeoutHdl_Impl ) );
} }
...@@ -370,7 +369,7 @@ void SvxHyperlinkInternetTp::SetScheme( const String& aScheme ) ...@@ -370,7 +369,7 @@ void SvxHyperlinkInternetTp::SetScheme( const String& aScheme )
maCbAnonymous.Show( bFTP ); maCbAnonymous.Show( bFTP );
//update 'link target in document'-window and opening-button //update 'link target in document'-window and opening-button
if( aScheme.SearchAscii( sHTTPScheme ) == 0 ) if( aScheme.SearchAscii( sHTTPScheme ) == 0 || aScheme.Len() == 0 )
{ {
maBtTarget.Enable(); maBtTarget.Enable();
if ( mbMarkWndOpen ) if ( mbMarkWndOpen )
......
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