diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-11-18 13:57:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-11-18 14:08:09 +0000 |
commit | fcb7905a7f7c8ad3e46fb49324fb1d7eaae83192 (patch) | |
tree | 77280608c4da45ad17f268dace6bf18236aa6506 /cui/source/dialogs/hlinettp.cxx | |
parent | e0840df74c9f33cae4e3cea5f5e5de39d51d17fd (diff) |
missing resource
this is missing since abad15bc31e99d554a68c6806a3ebb5f592dabbd
"small improvement of Insert -> Hyperlink -> Internet dialog". I can only
assume that removing the target button was intentional.
Change-Id: I71147394bcab348ed1d9e1e19e32b5ebdddc8c0e
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() ) |