diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-14 13:41:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-15 08:27:25 +0200 |
commit | b47cb646ff2a62fcd3fac0e453a7261bbaefbcb7 (patch) | |
tree | 49a2dc78e998baa77212776d7d94fb8d72dc0f00 /cui | |
parent | 89e0663c55f7f1763536a345d63111115c71ef26 (diff) |
loplugin:constantparam
Change-Id: I270e068b3c83e966e741b0a072fecce9d92d53f5
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/cuihyperdlg.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/iconcdlg.cxx | 7 | ||||
-rw-r--r-- | cui/source/inc/iconcdlg.hxx | 2 |
3 files changed, 3 insertions, 8 deletions
diff --git a/cui/source/dialogs/cuihyperdlg.cxx b/cui/source/dialogs/cuihyperdlg.cxx index c285d86d27a5..1c872b1d957f 100644 --- a/cui/source/dialogs/cuihyperdlg.cxx +++ b/cui/source/dialogs/cuihyperdlg.cxx @@ -146,7 +146,7 @@ SvxHpLinkDlg::SvxHpLinkDlg (vcl::Window* pParent, SfxBindings* pBindings) SetCurPageId(RID_SVXPAGE_HYPERLINK_INTERNET); // Init Dialog - Start (false); + Start(); pBindings->Update( SID_READONLY_MODE ); diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx index bcb644eacb3c..859dc9a43e27 100644 --- a/cui/source/dialogs/iconcdlg.cxx +++ b/cui/source/dialogs/iconcdlg.cxx @@ -657,17 +657,12 @@ short IconChoiceDialog::Execute() } -void IconChoiceDialog::Start( bool bShow ) +void IconChoiceDialog::Start() { - m_pCancelBtn->SetClickHdl( LINK( this, IconChoiceDialog, CancelHdl ) ); bModal = false; Start_Impl(); - - if ( bShow ) - Window::Show(); - } diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx index 851fb45d8e6c..b343adbd61ee 100644 --- a/cui/source/inc/iconcdlg.hxx +++ b/cui/source/inc/iconcdlg.hxx @@ -192,7 +192,7 @@ public: CancelButton& GetCancelButton() { return *m_pCancelBtn; } short Execute() override; - void Start( bool bShow = true ); + void Start(); bool QueryClose(); void SetCtrlStyle(); |