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 | |
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')
-rw-r--r-- | cui/source/dialogs/hlinettp.cxx | 23 | ||||
-rw-r--r-- | cui/source/dialogs/hyperdlg.hrc | 1 | ||||
-rw-r--r-- | cui/source/inc/hlinettp.hxx | 2 |
3 files changed, 0 insertions, 26 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() ) diff --git a/cui/source/dialogs/hyperdlg.hrc b/cui/source/dialogs/hyperdlg.hrc index 8c3423d3cc15..54152b33a036 100644 --- a/cui/source/dialogs/hyperdlg.hrc +++ b/cui/source/dialogs/hyperdlg.hrc @@ -29,7 +29,6 @@ #define ED_PASSWD 10 #define CBX_ANONYMOUS 11 #define BTN_BROWSE 12 -#define BTN_TARGET 13 /* Tabpage : Hyperlink - Mail & News */ diff --git a/cui/source/inc/hlinettp.hxx b/cui/source/inc/hlinettp.hxx index 8ff7474db764..c6f396897a38 100644 --- a/cui/source/inc/hlinettp.hxx +++ b/cui/source/inc/hlinettp.hxx @@ -40,7 +40,6 @@ private: ImageButton maBtBrowse; FixedText maFtLogin; Edit maEdLogin; - ImageButton maBtTarget; FixedText maFtPassword; Edit maEdPassword; CheckBox maCbAnonymous; @@ -53,7 +52,6 @@ private: DECL_LINK (Click_SmartProtocol_Impl , void * ); ///< Radiobutton clicked: Type HTTP or FTP DECL_LINK (ClickAnonymousHdl_Impl , void * ); ///< Checkbox : Anonymous User DECL_LINK (ClickBrowseHdl_Impl , void * ); ///< Button : Browse - DECL_LINK (ClickTargetHdl_Impl , void * ); ///< Button : Target DECL_LINK (ModifiedLoginHdl_Impl , void * ); ///< Contens of editfield "Login" modified DECL_LINK (LostFocusTargetHdl_Impl , void * ); ///< Combobox "Target" lost its focus DECL_LINK (ModifiedTargetHdl_Impl , void * ); ///< Contens of editfield "Target" modified |