Kaydet (Commit) 37bccf09 authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Andras Timar

Drop unnecessary HIDs from Hyperlink dialog

The defaults from ui files will do just fine

Change-Id: Idd0f3b2f171386142971e7b285abaf869e42717f
Reviewed-on: https://gerrit.libreoffice.org/50379Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarAndras Timar <andras.timar@collabora.com>
üst efe22f3f
......@@ -60,7 +60,6 @@ SvxHyperlinkDocTp::SvxHyperlinkDocTp ( vcl::Window *pParent, IconChoiceDialog* p
m_pCbbPath->Show();
m_pCbbPath->SetBaseURL(INET_FILE_SCHEME);
m_pCbbPath->SetHelpId( HID_HYPERDLG_DOC_PATH );
SetExchangeSupport ();
......
......@@ -53,7 +53,6 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( vcl::Window *pParent,
InitStdControls();
m_pCbbTarget->Show();
m_pCbbTarget->SetHelpId( HID_HYPERDLG_INET_PATH );
SetExchangeSupport ();
......
......@@ -55,7 +55,6 @@ SvxHyperlinkMailTp::SvxHyperlinkMailTp ( vcl::Window *pParent, IconChoiceDialog*
InitStdControls();
m_pCbbReceiver->Show();
m_pCbbReceiver->SetHelpId( HID_HYPERDLG_MAIL_PATH );
SetExchangeSupport ();
......
......@@ -24,7 +24,6 @@
#include <iconcdlg.hxx>
#include <cuihyperdlg.hxx>
#include <helpids.h>
#include <unotools/viewoptions.hxx>
#include <svtools/apearcfg.hxx>
#include <vcl/mnemonic.hxx>
......@@ -169,7 +168,6 @@ IconChoiceDialog::IconChoiceDialog ( vcl::Window* pParent, const OUString& rID,
m_pIconCtrl->Show();
m_pIconCtrl->SetChoiceWithCursor();
m_pIconCtrl->SetSelectionMode( SelectionMode::Single );
m_pIconCtrl->SetHelpId( HID_ICCDIALOG_CHOICECTRL );
// ItemSet
if ( pSet )
......@@ -180,12 +178,8 @@ IconChoiceDialog::IconChoiceDialog ( vcl::Window* pParent, const OUString& rID,
// Buttons
m_pOKBtn->SetClickHdl ( LINK( this, IconChoiceDialog, OkHdl ) );
m_pOKBtn->SetHelpId( HID_ICCDIALOG_OK_BTN );
m_pApplyBtn->SetClickHdl ( LINK( this, IconChoiceDialog, ApplyHdl ) );
//m_pApplyBtn->SetHelpId( HID_ICCDIALOG_APPLY_BTN );
m_pCancelBtn->SetHelpId( HID_ICCDIALOG_CANCEL_BTN );
m_pResetBtn->SetClickHdl( LINK( this, IconChoiceDialog, ResetHdl ) );
m_pResetBtn->SetHelpId( HID_ICCDIALOG_RESET_BTN );
m_pOKBtn->Show();
m_pApplyBtn->Show();
m_pCancelBtn->Show();
......
......@@ -51,13 +51,6 @@
#define HID_SVX_RESETBUTTON "CUI_HID_SVX_RESETBUTTON"
#define HID_SVX_REMOVEBUTTON "CUI_HID_SVX_REMOVEBUTTON"
#define HID_SVX_DESCFIELD "CUI_HID_SVX_DESCFIELD"
#define HID_ICCDIALOG_RESET_BTN "CUI_HID_ICCDIALOG_RESET_BTN"
#define HID_ICCDIALOG_CHOICECTRL "CUI_HID_ICCDIALOG_CHOICECTRL"
#define HID_HYPERDLG_INET_PATH "CUI_HID_HYPERDLG_INET_PATH"
#define HID_HYPERDLG_MAIL_PATH "CUI_HID_HYPERDLG_MAIL_PATH"
#define HID_HYPERDLG_DOC_PATH "CUI_HID_HYPERDLG_DOC_PATH"
#define HID_ICCDIALOG_OK_BTN "CUI_HID_ICCDIALOG_OK_BTN"
#define HID_ICCDIALOG_CANCEL_BTN "CUI_HID_ICCDIALOG_CANCEL_BTN"
#define HID_MACRO_HEADERTABLISTBOX "CUI_HID_MACRO_HEADERTABLISTBOX"
#endif
......
......@@ -38,7 +38,6 @@
#include "dialmgr.hxx"
#include <sfx2/docfile.hxx>
#include <com/sun/star/frame/XFrame.hpp>
#include "helpids.h"
#include <svx/hlnkitem.hxx>
#include "hlmarkwn.hxx"
......
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