diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-12 11:32:53 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-09-12 11:09:43 +0000 |
commit | 774d2a94d31c14fb24c07a5c85220e5ef528ad20 (patch) | |
tree | 36c8b4ddc4572f55d208bc022802cbf3d18b71bc /extensions/source/propctrlr/usercontrol.cxx | |
parent | 69ce52fbf26fab9239562d2bfd407db67cfb6ec8 (diff) |
loplugin:constantparam in extensions..lotuswordpro
Change-Id: Ifb30d5d53536045638d872761626a1b60fa52dad
Reviewed-on: https://gerrit.libreoffice.org/28831
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'extensions/source/propctrlr/usercontrol.cxx')
-rw-r--r-- | extensions/source/propctrlr/usercontrol.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/extensions/source/propctrlr/usercontrol.cxx b/extensions/source/propctrlr/usercontrol.cxx index ef15cd7d6364..e18281d78768 100644 --- a/extensions/source/propctrlr/usercontrol.cxx +++ b/extensions/source/propctrlr/usercontrol.cxx @@ -87,8 +87,8 @@ namespace pcr // OFormatSampleControl - OFormatSampleControl::OFormatSampleControl( vcl::Window* pParent, WinBits nWinStyle ) - :OFormatSampleControl_Base( PropertyControlType::Unknown, pParent, nWinStyle ) + OFormatSampleControl::OFormatSampleControl( vcl::Window* pParent ) + :OFormatSampleControl_Base( PropertyControlType::Unknown, pParent, WB_READONLY | WB_TABSTOP | WB_BORDER ) { getTypedControlWindow()->setControlHelper(*this); } @@ -262,8 +262,8 @@ namespace pcr //= OFileUrlControl - OFileUrlControl::OFileUrlControl( vcl::Window* pParent, WinBits nWinStyle ) - :OFileUrlControl_Base( PropertyControlType::Unknown, pParent, nWinStyle | WB_DROPDOWN ) + OFileUrlControl::OFileUrlControl( vcl::Window* pParent ) + :OFileUrlControl_Base( PropertyControlType::Unknown, pParent, WB_TABSTOP | WB_BORDER | WB_DROPDOWN ) { getTypedControlWindow()->SetDropDownLineCount( 10 ); getTypedControlWindow()->SetPlaceHolder( PcrRes( RID_EMBED_IMAGE_PLACEHOLDER ).toString() ) ; @@ -308,8 +308,8 @@ namespace pcr //= OTimeDurationControl - OTimeDurationControl::OTimeDurationControl( vcl::Window* pParent, WinBits nWinStyle ) - :ONumericControl( pParent, nWinStyle ) + OTimeDurationControl::OTimeDurationControl( vcl::Window* pParent ) + :ONumericControl( pParent, WB_BORDER | WB_TABSTOP ) { getTypedControlWindow()->SetUnit( FUNIT_CUSTOM ); getTypedControlWindow()->SetCustomUnitText(" ms"); |