diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-01 15:43:18 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-04 12:03:33 +0000 |
commit | ecdf7aaede66c209fa5c101c0435322a765f02ee (patch) | |
tree | c6bd3812c3d3d67b71644e0e9b3d474f1dd0f455 /include/svtools/ivctrl.hxx | |
parent | 3979afceecb98780549fda60c7f75c8015bb33d8 (diff) |
loplugin:constantparam in svtools
Change-Id: Iceb1b57997e0369946150ef0764b71da59a6b7a6
Reviewed-on: https://gerrit.libreoffice.org/23725
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svtools/ivctrl.hxx')
-rw-r--r-- | include/svtools/ivctrl.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/svtools/ivctrl.hxx b/include/svtools/ivctrl.hxx index 0e5896512066..2f37b12b01ab 100644 --- a/include/svtools/ivctrl.hxx +++ b/include/svtools/ivctrl.hxx @@ -153,12 +153,11 @@ class SvxIconChoiceCtrlColumnInfo Image aColImage; long nWidth; SvxIconChoiceCtrlColumnAlign eAlignment; - sal_uInt16 nSubItem; + sal_uInt16 nSubItem; public: - SvxIconChoiceCtrlColumnInfo( sal_uInt16 nSub, long nWd, - SvxIconChoiceCtrlColumnAlign eAlign ) : - nWidth( nWd ), eAlignment( eAlign ), nSubItem( nSub ) {} + SvxIconChoiceCtrlColumnInfo( long nWd ) : + nWidth( nWd ), eAlignment( IcnViewAlignLeft ), nSubItem( 0 ) {} SvxIconChoiceCtrlColumnInfo( const SvxIconChoiceCtrlColumnInfo& ); void SetWidth( long nWd ) { nWidth = nWd; } |