summaryrefslogtreecommitdiff
path: root/sw/source/ui/frmdlg
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-07 14:40:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-07 15:27:38 +0200
commit959ace5861ca8dbb5fbec7a1954eeeb3b93ae4f3 (patch)
tree7213673c1ee87c1706416b5bf037fb14dc1580cc /sw/source/ui/frmdlg
parent22d5927000a32c54b0ba0355ca9c0999d3b00fb7 (diff)
loplugin:constparams in sw part10
Change-Id: I7d708c3e6157d0b8690b433d3363d2c0745b2410 Reviewed-on: https://gerrit.libreoffice.org/40832 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/frmdlg')
-rw-r--r--sw/source/ui/frmdlg/frmpage.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx
index a24b4bfe494b..eb2dcd2c7540 100644
--- a/sw/source/ui/frmdlg/frmpage.cxx
+++ b/sw/source/ui/frmdlg/frmpage.cxx
@@ -1628,7 +1628,7 @@ void SwFramePage::FillRelLB( const FrameMap* _pMap,
RelHdl(_rLB);
}
-sal_Int16 SwFramePage::GetRelation(ListBox &rRelationLB)
+sal_Int16 SwFramePage::GetRelation(ListBox const &rRelationLB)
{
const sal_Int32 nPos = rRelationLB.GetSelectEntryPos();
@@ -1642,7 +1642,7 @@ sal_Int16 SwFramePage::GetRelation(ListBox &rRelationLB)
}
sal_Int16 SwFramePage::GetAlignment(FrameMap *pMap, sal_Int32 nMapPos,
- ListBox &rRelationLB)
+ ListBox const &rRelationLB)
{
if (!pMap || nMapPos < 0)
return 0;
@@ -1674,7 +1674,7 @@ sal_Int16 SwFramePage::GetAlignment(FrameMap *pMap, sal_Int32 nMapPos,
return 0;
}
-sal_Int32 SwFramePage::GetMapPos( const FrameMap *pMap, ListBox &rAlignLB )
+sal_Int32 SwFramePage::GetMapPos( const FrameMap *pMap, ListBox const &rAlignLB )
{
sal_Int32 nMapPos = 0;
sal_Int32 nLBSelPos = rAlignLB.GetSelectEntryPos();