diff options
author | Noel <noelgrandin@gmail.com> | 2020-11-04 08:43:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-11-04 13:57:38 +0100 |
commit | c76c4e74810e152fa5a6befe73ce4167b6b98267 (patch) | |
tree | f3f5d59f48eb08ba5077b226c4c8eb56701151bb /svx/source | |
parent | d1232ee6b5e5cc3c811ef3ad72c83e9bd884bfe3 (diff) |
loplugin:constantparam
Change-Id: Ia2fea86f940d0d2d1dba5ed56660584f3d3fb028
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105280
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/dialog/dlgctrl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx index c15b3ebc7cb8..37d5814597c8 100644 --- a/svx/source/dialog/dlgctrl.cxx +++ b/svx/source/dialog/dlgctrl.cxx @@ -62,11 +62,11 @@ BitmapEx& SvxRectCtl::GetRectBitmap() return *pBitmap; } -SvxRectCtl::SvxRectCtl(SvxTabPage* pPage, RectPoint eRpt, sal_uInt16 nBorder) +SvxRectCtl::SvxRectCtl(SvxTabPage* pPage) : m_pPage(pPage) - , nBorderWidth(Application::GetDefaultDevice()->LogicToPixel(Size(nBorder, 0), MapMode(MapUnit::Map100thMM)).Width()) - , eRP(eRpt) - , eDefRP(eRpt) + , nBorderWidth(Application::GetDefaultDevice()->LogicToPixel(Size(200, 0), MapMode(MapUnit::Map100thMM)).Width()) + , eRP(RectPoint::MM) + , eDefRP(RectPoint::MM) , m_nState(CTL_STATE::NONE) , mbCompleteDisable(false) { |