diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-12 10:04:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-17 08:13:06 +0200 |
commit | b9f9f8253f89151beed27499e6db5c11a7d81eba (patch) | |
tree | 67e1506ecce80867e8a7fbf07ffe2ac5c1f6ad11 /sw | |
parent | 0a910746b19f10f184f6ff8f41c868994a472ca9 (diff) |
loplugin:constparams
Change-Id: I3d1b88dbd0ff73fddc08d52f50e0efb42daab89b
Reviewed-on: https://gerrit.libreoffice.org/52756
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/fesh.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/frmedt/feshview.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/layout/trvlfrm.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/fldui/fldtdlg.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/table/autoformatpreview.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/inc/autoformatpreview.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/inc/fldtdlg.hxx | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx index 0222fa709b99..f9a731ef96d1 100644 --- a/sw/inc/fesh.hxx +++ b/sw/inc/fesh.hxx @@ -810,7 +810,7 @@ public: const Point& _rDocPos ); void ToggleHeaderFooterEdit( ); - static void SetLineEnds(SfxItemSet& rAttr, SdrObject& rObj, sal_uInt16 nSlotId); + static void SetLineEnds(SfxItemSet& rAttr, SdrObject const & rObj, sal_uInt16 nSlotId); SAL_DLLPRIVATE void ClearColumnRowCache(SwTabFrame const*); }; diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx index b1b897f32d84..4b46fd4df1d6 100644 --- a/sw/source/core/frmedt/feshview.cxx +++ b/sw/source/core/frmedt/feshview.cxx @@ -892,7 +892,7 @@ static void lcl_NotifyNeighbours( const SdrMarkList *pLst ) } } -void SwFEShell::SetLineEnds(SfxItemSet& rAttr, SdrObject& rObj, sal_uInt16 nSlotId) +void SwFEShell::SetLineEnds(SfxItemSet& rAttr, SdrObject const & rObj, sal_uInt16 nSlotId) { SdrModel& rModel(rObj.getSdrModelFromSdrObject()); diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx index f322cc9d9cc6..1586d7e5753d 100644 --- a/sw/source/core/layout/trvlfrm.cxx +++ b/sw/source/core/layout/trvlfrm.cxx @@ -1140,7 +1140,7 @@ static sal_uInt64 CalcDiff(const Point &rPt1, const Point &rPt2) * This will suit the purpose that the ContentFrame which lies in the "right" page part will be * accepted instead of one which doesn't lie there although his distance to the point is shorter. */ -static const SwLayoutFrame* lcl_Inside( const SwContentFrame *pCnt, Point& rPt ) +static const SwLayoutFrame* lcl_Inside( const SwContentFrame *pCnt, Point const & rPt ) { const SwLayoutFrame* pUp = pCnt->GetUpper(); while( pUp ) diff --git a/sw/source/ui/fldui/fldtdlg.cxx b/sw/source/ui/fldui/fldtdlg.cxx index 5fd48cec0ada..cfaa6e23f91b 100644 --- a/sw/source/ui/fldui/fldtdlg.cxx +++ b/sw/source/ui/fldui/fldtdlg.cxx @@ -108,7 +108,7 @@ bool SwFieldDlg::Close() return true; } -void SwFieldDlg::Initialize(SfxChildWinInfo *pInfo) +void SwFieldDlg::Initialize(SfxChildWinInfo const *pInfo) { Point aPos; Size aSize; diff --git a/sw/source/ui/table/autoformatpreview.cxx b/sw/source/ui/table/autoformatpreview.cxx index c4e1261c1f90..47447886ba0d 100644 --- a/sw/source/ui/table/autoformatpreview.cxx +++ b/sw/source/ui/table/autoformatpreview.cxx @@ -87,7 +87,7 @@ static void lcl_SetFontProperties(vcl::Font& rFont, const SvxFontItem& rFontItem rCJKFont.MethodName(Value); \ rCTLFont.MethodName(Value); -void AutoFormatPreview::MakeFonts(vcl::RenderContext& rRenderContext, sal_uInt8 nIndex, +void AutoFormatPreview::MakeFonts(vcl::RenderContext const& rRenderContext, sal_uInt8 nIndex, vcl::Font& rFont, vcl::Font& rCJKFont, vcl::Font& rCTLFont) { const SwBoxAutoFormat& rBoxFormat = aCurData.GetBoxFormat(nIndex); diff --git a/sw/source/uibase/inc/autoformatpreview.hxx b/sw/source/uibase/inc/autoformatpreview.hxx index c509a698a227..1b9bd74b1589 100644 --- a/sw/source/uibase/inc/autoformatpreview.hxx +++ b/sw/source/uibase/inc/autoformatpreview.hxx @@ -83,7 +83,7 @@ private: void DrawString(vcl::RenderContext& rRenderContext, size_t nCol, size_t nRow); void DrawBackground(vcl::RenderContext& rRenderContext); - void MakeFonts(vcl::RenderContext& rRenderContext, sal_uInt8 nIndex, vcl::Font& rFont, + void MakeFonts(vcl::RenderContext const& rRenderContext, sal_uInt8 nIndex, vcl::Font& rFont, vcl::Font& rCJKFont, vcl::Font& rCTLFont); }; diff --git a/sw/source/uibase/inc/fldtdlg.hxx b/sw/source/uibase/inc/fldtdlg.hxx index 59972d880000..65552b29c9d3 100644 --- a/sw/source/uibase/inc/fldtdlg.hxx +++ b/sw/source/uibase/inc/fldtdlg.hxx @@ -53,7 +53,7 @@ public: DECL_LINK(OKHdl, Button*, void); DECL_LINK(CancelHdl, Button*, void); - void Initialize(SfxChildWinInfo *pInfo); + void Initialize(SfxChildWinInfo const *pInfo); void ReInitDlg(); void EnableInsert(bool bEnable); void InsertHdl(); |