Kaydet (Commit) fcb7905a authored tarafından Caolán McNamara's avatar Caolán McNamara

missing resource

this is missing since abad15bc

"small improvement of Insert -> Hyperlink -> Internet dialog". I can only
assume that removing the target button was intentional.

Change-Id: I71147394bcab348ed1d9e1e19e32b5ebdddc8c0e
üst e0840df7
...@@ -47,7 +47,6 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent, ...@@ -47,7 +47,6 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent,
maBtBrowse ( this, CUI_RES (BTN_BROWSE) ), maBtBrowse ( this, CUI_RES (BTN_BROWSE) ),
maFtLogin ( this, CUI_RES (FT_LOGIN) ), maFtLogin ( this, CUI_RES (FT_LOGIN) ),
maEdLogin ( this, CUI_RES (ED_LOGIN) ), maEdLogin ( this, CUI_RES (ED_LOGIN) ),
maBtTarget ( this, CUI_RES (BTN_TARGET) ),
maFtPassword ( this, CUI_RES (FT_PASSWD) ), maFtPassword ( this, CUI_RES (FT_PASSWD) ),
maEdPassword ( this, CUI_RES (ED_PASSWD) ), maEdPassword ( this, CUI_RES (ED_PASSWD) ),
maCbAnonymous ( this, CUI_RES (CBX_ANONYMOUS) ), maCbAnonymous ( this, CUI_RES (CBX_ANONYMOUS) ),
...@@ -55,7 +54,6 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent, ...@@ -55,7 +54,6 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent,
{ {
// Disable display of bitmap names. // Disable display of bitmap names.
maBtBrowse.EnableTextDisplay (sal_False); maBtBrowse.EnableTextDisplay (sal_False);
maBtTarget.EnableTextDisplay (sal_False);
InitStdControls(); InitStdControls();
FreeResource(); FreeResource();
...@@ -76,7 +74,6 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent, ...@@ -76,7 +74,6 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent,
maEdLogin.Show( sal_False ); maEdLogin.Show( sal_False );
maEdPassword.Show( sal_False ); maEdPassword.Show( sal_False );
maCbAnonymous.Show( sal_False ); maCbAnonymous.Show( sal_False );
maBtTarget.Enable( sal_False );
maBtBrowse.Enable( sal_True ); maBtBrowse.Enable( sal_True );
/////////////////////////////////////// ///////////////////////////////////////
...@@ -86,7 +83,6 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent, ...@@ -86,7 +83,6 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent,
maRbtLinktypFTP.SetClickHdl ( aLink ); maRbtLinktypFTP.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 ) );
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 ) );
...@@ -94,8 +90,6 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent, ...@@ -94,8 +90,6 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent,
maFtTarget.SetAccessibleRelationMemberOf( &maGrpLinkTyp ); maFtTarget.SetAccessibleRelationMemberOf( &maGrpLinkTyp );
maCbbTarget.SetAccessibleRelationMemberOf( &maGrpLinkTyp ); maCbbTarget.SetAccessibleRelationMemberOf( &maGrpLinkTyp );
maBtTarget.SetAccessibleRelationMemberOf( &maGrpLinkTyp );
maBtTarget.SetAccessibleRelationLabeledBy( &maFtTarget );
maBtBrowse.SetAccessibleRelationMemberOf( &maGrpLinkTyp ); maBtBrowse.SetAccessibleRelationMemberOf( &maGrpLinkTyp );
maBtBrowse.SetAccessibleRelationLabeledBy( &maFtTarget ); maBtBrowse.SetAccessibleRelationLabeledBy( &maFtTarget );
} }
...@@ -298,14 +292,12 @@ void SvxHyperlinkInternetTp::SetScheme(const OUString& rScheme) ...@@ -298,14 +292,12 @@ void SvxHyperlinkInternetTp::SetScheme(const OUString& rScheme)
//update 'link target in document'-window and opening-button //update 'link target in document'-window and opening-button
if (rScheme.startsWith(sHTTPScheme) || rScheme.isEmpty()) if (rScheme.startsWith(sHTTPScheme) || rScheme.isEmpty())
{ {
maBtTarget.Enable();
if ( mbMarkWndOpen ) if ( mbMarkWndOpen )
ShowMarkWnd (); ShowMarkWnd ();
} }
else else
{ {
//disable for https and ftp //disable for https and ftp
maBtTarget.Disable();
if ( mbMarkWndOpen ) if ( mbMarkWndOpen )
HideMarkWnd (); HideMarkWnd ();
} }
...@@ -427,21 +419,6 @@ IMPL_LINK_NOARG(SvxHyperlinkInternetTp, ClickBrowseHdl_Impl) ...@@ -427,21 +419,6 @@ IMPL_LINK_NOARG(SvxHyperlinkInternetTp, ClickBrowseHdl_Impl)
return( 0L ); return( 0L );
} }
/*************************************************************************
|*
|* Click on imagebutton : Target
|*
|************************************************************************/
IMPL_LINK_NOARG(SvxHyperlinkInternetTp, ClickTargetHdl_Impl)
{
RefreshMarkWindow();
ShowMarkWnd ();
mbMarkWndOpen = IsMarkWndVisible ();
return( 0L );
}
void SvxHyperlinkInternetTp::RefreshMarkWindow() void SvxHyperlinkInternetTp::RefreshMarkWindow()
{ {
if ( maRbtLinktypInternet.IsChecked() && IsMarkWndVisible() ) if ( maRbtLinktypInternet.IsChecked() && IsMarkWndVisible() )
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#define ED_PASSWD 10 #define ED_PASSWD 10
#define CBX_ANONYMOUS 11 #define CBX_ANONYMOUS 11
#define BTN_BROWSE 12 #define BTN_BROWSE 12
#define BTN_TARGET 13
/* Tabpage : Hyperlink - Mail & News */ /* Tabpage : Hyperlink - Mail & News */
......
...@@ -40,7 +40,6 @@ private: ...@@ -40,7 +40,6 @@ private:
ImageButton maBtBrowse; ImageButton maBtBrowse;
FixedText maFtLogin; FixedText maFtLogin;
Edit maEdLogin; Edit maEdLogin;
ImageButton maBtTarget;
FixedText maFtPassword; FixedText maFtPassword;
Edit maEdPassword; Edit maEdPassword;
CheckBox maCbAnonymous; CheckBox maCbAnonymous;
...@@ -53,7 +52,6 @@ private: ...@@ -53,7 +52,6 @@ private:
DECL_LINK (Click_SmartProtocol_Impl , void * ); ///< Radiobutton clicked: Type HTTP or FTP DECL_LINK (Click_SmartProtocol_Impl , void * ); ///< Radiobutton clicked: Type HTTP or FTP
DECL_LINK (ClickAnonymousHdl_Impl , void * ); ///< Checkbox : Anonymous User DECL_LINK (ClickAnonymousHdl_Impl , void * ); ///< Checkbox : Anonymous User
DECL_LINK (ClickBrowseHdl_Impl , void * ); ///< Button : Browse 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 (ModifiedLoginHdl_Impl , void * ); ///< Contens of editfield "Login" modified
DECL_LINK (LostFocusTargetHdl_Impl , void * ); ///< Combobox "Target" lost its focus DECL_LINK (LostFocusTargetHdl_Impl , void * ); ///< Combobox "Target" lost its focus
DECL_LINK (ModifiedTargetHdl_Impl , void * ); ///< Contens of editfield "Target" modified DECL_LINK (ModifiedTargetHdl_Impl , void * ); ///< Contens of editfield "Target" modified
......
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