diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-24 10:57:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-24 12:31:35 +0100 |
commit | 665d085511a64959ceafd869e6331877ed711c80 (patch) | |
tree | 06f341e6bb2d4d7d643b7dda2a130b670e534491 /sw/source/ui/table | |
parent | 793b69fe73eb2d6ae4c42f04a66df8c180e42886 (diff) |
loplugin:countusersofdefaultparams in sw (1)
Change-Id: I0d14f9c375f93079aef21ca4f1132adc4e1fe06c
Reviewed-on: https://gerrit.libreoffice.org/45207
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/table')
-rw-r--r-- | sw/source/ui/table/convert.cxx | 6 | ||||
-rw-r--r-- | sw/source/ui/table/instable.cxx | 6 | ||||
-rw-r--r-- | sw/source/ui/table/tabledlg.cxx | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/ui/table/convert.cxx b/sw/source/ui/table/convert.cxx index 5f05e1e8d6e6..14e1b4729a61 100644 --- a/sw/source/ui/table/convert.cxx +++ b/sw/source/ui/table/convert.cxx @@ -168,8 +168,8 @@ SwConvertTableDlg::SwConvertTableDlg( SwView& rView, bool bToTable ) mpHeaderCB->SetClickHdl(LINK(this, SwConvertTableDlg, CheckBoxHdl)); mpRepeatHeaderCB->SetClickHdl(LINK(this, SwConvertTableDlg, ReapeatHeaderCheckBoxHdl)); - ReapeatHeaderCheckBoxHdl(); - CheckBoxHdl(); + ReapeatHeaderCheckBoxHdl(nullptr); + CheckBoxHdl(nullptr); } SwConvertTableDlg:: ~SwConvertTableDlg() @@ -225,7 +225,7 @@ IMPL_LINK( SwConvertTableDlg, BtnHdl, Button*, pButton, void ) IMPL_LINK_NOARG(SwConvertTableDlg, CheckBoxHdl, Button*, void) { mpRepeatHeaderCB->Enable(mpHeaderCB->IsChecked()); - ReapeatHeaderCheckBoxHdl(); + ReapeatHeaderCheckBoxHdl(nullptr); } IMPL_LINK_NOARG(SwConvertTableDlg, ReapeatHeaderCheckBoxHdl, Button*, void) diff --git a/sw/source/ui/table/instable.cxx b/sw/source/ui/table/instable.cxx index dd0d1ad25947..eaa591d990be 100644 --- a/sw/source/ui/table/instable.cxx +++ b/sw/source/ui/table/instable.cxx @@ -116,8 +116,8 @@ SwInsTableDlg::SwInsTableDlg( SwView& rView ) m_pRepeatHeaderNF->SetModifyHdl( LINK( this, SwInsTableDlg, ModifyRepeatHeaderNF_Hdl ) ); m_pHeaderCB->SetClickHdl(LINK(this, SwInsTableDlg, CheckBoxHdl)); m_pRepeatHeaderCB->SetClickHdl(LINK(this, SwInsTableDlg, ReapeatHeaderCheckBoxHdl)); - ReapeatHeaderCheckBoxHdl(); - CheckBoxHdl(); + ReapeatHeaderCheckBoxHdl(nullptr); + CheckBoxHdl(nullptr); sal_Int64 nMax = m_pRowNF->GetValue(); if( nMax <= 1 ) @@ -208,7 +208,7 @@ IMPL_LINK( SwInsTableDlg, AutoFormatHdl, Button*, pButton, void ) IMPL_LINK_NOARG(SwInsTableDlg, CheckBoxHdl, Button*, void) { m_pRepeatHeaderCB->Enable(m_pHeaderCB->IsChecked()); - ReapeatHeaderCheckBoxHdl(); + ReapeatHeaderCheckBoxHdl(nullptr); } IMPL_LINK_NOARG(SwInsTableDlg, ReapeatHeaderCheckBoxHdl, Button*, void) diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx index 0b20824c2342..1dd146377a8a 100644 --- a/sw/source/ui/table/tabledlg.cxx +++ b/sw/source/ui/table/tabledlg.cxx @@ -1278,7 +1278,7 @@ SwTextFlowPage::SwTextFlowPage(vcl::Window* pParent, const SfxItemSet& rSet) m_pSplitRowCB->Hide(); } - HeadLineCBClickHdl(); + HeadLineCBClickHdl(nullptr); } SwTextFlowPage::~SwTextFlowPage() @@ -1628,7 +1628,7 @@ void SwTextFlowPage::Reset( const SfxItemSet* rSet ) m_pTextDirectionLB->SaveValue(); m_pVertOrientLB->SaveValue(); - HeadLineCBClickHdl(); + HeadLineCBClickHdl(nullptr); } void SwTextFlowPage::SetShell(SwWrtShell* pSh) |