diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-15 08:11:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-15 13:09:09 +0200 |
commit | ca014eca8a07ae97125afa6e47d56c44269d7a73 (patch) | |
tree | a4ee4b6bf659625f021a4e621e7575dcc6d37222 /svx | |
parent | 6eba86ae9d6c8550e069ef933889610aee309381 (diff) |
loplugin:constantparam
Change-Id: I895ceffa468d84d22e4a81b7a6b06eaed0bd839d
Reviewed-on: https://gerrit.libreoffice.org/61776
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/dlgctrl.cxx | 4 | ||||
-rw-r--r-- | svx/source/tbxctrls/itemwin.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx index d2f6b9d3e7bc..d91160e4aa1e 100644 --- a/svx/source/dialog/dlgctrl.cxx +++ b/svx/source/dialog/dlgctrl.cxx @@ -922,8 +922,8 @@ void FillTypeLB::Fill() SetUpdateMode( true ); } -LineLB::LineLB(vcl::Window* pParent, WinBits aWB) -: ListBox(pParent, aWB), +LineLB::LineLB(vcl::Window* pParent) +: ListBox(pParent, WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL), mbAddStandardFields(true) { // No EdgeBlending for LineStyle/Dash SetEdgeBlending(true); diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx index 550d916eafea..ab8a58380753 100644 --- a/svx/source/tbxctrls/itemwin.cxx +++ b/svx/source/tbxctrls/itemwin.cxx @@ -51,7 +51,7 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::beans; SvxLineBox::SvxLineBox( vcl::Window* pParent, const Reference< XFrame >& rFrame ) : - LineLB( pParent, WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL ), + LineLB( pParent ), nCurPos ( 0 ), aLogicalSize(40,140), bRelease ( true ), |