diff options
Diffstat (limited to 'cui/source/dialogs/hlinettp.cxx')
-rw-r--r-- | cui/source/dialogs/hlinettp.cxx | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/cui/source/dialogs/hlinettp.cxx b/cui/source/dialogs/hlinettp.cxx index 322ab741519e..ddaf9865cf98 100644 --- a/cui/source/dialogs/hlinettp.cxx +++ b/cui/source/dialogs/hlinettp.cxx @@ -47,7 +47,6 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent, maBtBrowse ( this, CUI_RES (BTN_BROWSE) ), maFtLogin ( this, CUI_RES (FT_LOGIN) ), maEdLogin ( this, CUI_RES (ED_LOGIN) ), - maBtTarget ( this, CUI_RES (BTN_TARGET) ), maFtPassword ( this, CUI_RES (FT_PASSWD) ), maEdPassword ( this, CUI_RES (ED_PASSWD) ), maCbAnonymous ( this, CUI_RES (CBX_ANONYMOUS) ), @@ -55,7 +54,6 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent, { // Disable display of bitmap names. maBtBrowse.EnableTextDisplay (sal_False); - maBtTarget.EnableTextDisplay (sal_False); InitStdControls(); FreeResource(); @@ -76,7 +74,6 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent, maEdLogin.Show( sal_False ); maEdPassword.Show( sal_False ); maCbAnonymous.Show( sal_False ); - maBtTarget.Enable( sal_False ); maBtBrowse.Enable( sal_True ); /////////////////////////////////////// @@ -86,7 +83,6 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent, maRbtLinktypFTP.SetClickHdl ( aLink ); maCbAnonymous.SetClickHdl ( LINK ( this, SvxHyperlinkInternetTp, ClickAnonymousHdl_Impl ) ); maBtBrowse.SetClickHdl ( LINK ( this, SvxHyperlinkInternetTp, ClickBrowseHdl_Impl ) ); - maBtTarget.SetClickHdl ( LINK ( this, SvxHyperlinkInternetTp, ClickTargetHdl_Impl ) ); maEdLogin.SetModifyHdl ( LINK ( this, SvxHyperlinkInternetTp, ModifiedLoginHdl_Impl ) ); maCbbTarget.SetLoseFocusHdl ( LINK ( this, SvxHyperlinkInternetTp, LostFocusTargetHdl_Impl ) ); maCbbTarget.SetModifyHdl ( LINK ( this, SvxHyperlinkInternetTp, ModifiedTargetHdl_Impl ) ); @@ -94,8 +90,6 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent, maFtTarget.SetAccessibleRelationMemberOf( &maGrpLinkTyp ); maCbbTarget.SetAccessibleRelationMemberOf( &maGrpLinkTyp ); - maBtTarget.SetAccessibleRelationMemberOf( &maGrpLinkTyp ); - maBtTarget.SetAccessibleRelationLabeledBy( &maFtTarget ); maBtBrowse.SetAccessibleRelationMemberOf( &maGrpLinkTyp ); maBtBrowse.SetAccessibleRelationLabeledBy( &maFtTarget ); } @@ -298,14 +292,12 @@ void SvxHyperlinkInternetTp::SetScheme(const OUString& rScheme) //update 'link target in document'-window and opening-button if (rScheme.startsWith(sHTTPScheme) || rScheme.isEmpty()) { - maBtTarget.Enable(); if ( mbMarkWndOpen ) ShowMarkWnd (); } else { //disable for https and ftp - maBtTarget.Disable(); if ( mbMarkWndOpen ) HideMarkWnd (); } @@ -427,21 +419,6 @@ IMPL_LINK_NOARG(SvxHyperlinkInternetTp, ClickBrowseHdl_Impl) return( 0L ); } -/************************************************************************* -|* -|* Click on imagebutton : Target -|* -|************************************************************************/ - -IMPL_LINK_NOARG(SvxHyperlinkInternetTp, ClickTargetHdl_Impl) -{ - RefreshMarkWindow(); - ShowMarkWnd (); - mbMarkWndOpen = IsMarkWndVisible (); - - return( 0L ); -} - void SvxHyperlinkInternetTp::RefreshMarkWindow() { if ( maRbtLinktypInternet.IsChecked() && IsMarkWndVisible() ) |