summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-03 09:52:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-06 07:13:42 +0100
commit0d50804e1c0c0ea2a5cd73fa3fa2a9ff0a0e7048 (patch)
treeab861bba797a4610ffd5b482cc8fa4c4d5b59c35 /cui
parent26e8b589b3f7716a80df7f3a9273e4967d9b0991 (diff)
loplugin:constparams in various(2)
Change-Id: I533a7eb724b15e168a28dc92cd5962a39bc96e7c Reviewed-on: https://gerrit.libreoffice.org/44313 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/inc/swpossizetabpage.hxx8
-rw-r--r--cui/source/tabpages/swpossizetabpage.cxx8
2 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/inc/swpossizetabpage.hxx b/cui/source/inc/swpossizetabpage.hxx
index 2c2168d59183..cbcb39274673 100644
--- a/cui/source/inc/swpossizetabpage.hxx
+++ b/cui/source/inc/swpossizetabpage.hxx
@@ -107,12 +107,12 @@ class SvxSwPosSizeTabPage : public SfxTabPage
void InitPos(RndStdIds nAnchorType, sal_uInt16 nH, sal_uInt16 nHRel,
sal_uInt16 nV, sal_uInt16 nVRel,
long nX, long nY);
- static sal_uInt16 GetMapPos(FrmMap *pMap, ListBox const &rAlignLB);
- static short GetAlignment(FrmMap *pMap, sal_uInt16 nMapPos, ListBox const &rRelationLB);
+ static sal_uInt16 GetMapPos(FrmMap const *pMap, ListBox const &rAlignLB);
+ static short GetAlignment(FrmMap const *pMap, sal_uInt16 nMapPos, ListBox const &rRelationLB);
static short GetRelation(ListBox const &rRelationLB);
RndStdIds GetAnchorType(bool* pbHasChanged = nullptr);
- void FillRelLB(FrmMap *pMap, sal_uInt16 nLBSelPos, sal_uInt16 nAlign, sal_uInt16 nRel, ListBox &rLB, FixedText &rFT);
- sal_uInt16 FillPosLB(FrmMap *pMap, sal_uInt16 nAlign, const sal_uInt16 _nRel, ListBox &rLB);
+ void FillRelLB(FrmMap const *pMap, sal_uInt16 nLBSelPos, sal_uInt16 nAlign, sal_uInt16 nRel, ListBox &rLB, FixedText &rFT);
+ sal_uInt16 FillPosLB(FrmMap const *pMap, sal_uInt16 nAlign, const sal_uInt16 _nRel, ListBox &rLB);
void UpdateExample();
diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx
index 15948bc4a6b5..44e7ca613259 100644
--- a/cui/source/tabpages/swpossizetabpage.cxx
+++ b/cui/source/tabpages/swpossizetabpage.cxx
@@ -1410,7 +1410,7 @@ short SvxSwPosSizeTabPage::GetRelation(ListBox const &rRelationLB)
return nRel;
}
-short SvxSwPosSizeTabPage::GetAlignment(FrmMap *pMap, sal_uInt16 nMapPos, ListBox const &rRelationLB)
+short SvxSwPosSizeTabPage::GetAlignment(FrmMap const *pMap, sal_uInt16 nMapPos, ListBox const &rRelationLB)
{
short nAlign = 0;
@@ -1445,7 +1445,7 @@ short SvxSwPosSizeTabPage::GetAlignment(FrmMap *pMap, sal_uInt16 nMapPos, ListBo
return nAlign;
}
-sal_uInt16 SvxSwPosSizeTabPage::GetMapPos(FrmMap *pMap, ListBox const &rAlignLB)
+sal_uInt16 SvxSwPosSizeTabPage::GetMapPos(FrmMap const *pMap, ListBox const &rAlignLB)
{
sal_uInt16 nMapPos = 0;
sal_Int32 nLBSelPos = rAlignLB.GetSelectedEntryPos();
@@ -1659,7 +1659,7 @@ void SvxSwPosSizeTabPage::UpdateExample()
m_pExampleWN->Invalidate();
}
-void SvxSwPosSizeTabPage::FillRelLB(FrmMap *pMap, sal_uInt16 nMapPos, sal_uInt16 nAlign,
+void SvxSwPosSizeTabPage::FillRelLB(FrmMap const *pMap, sal_uInt16 nMapPos, sal_uInt16 nAlign,
sal_uInt16 nRel, ListBox &rLB, FixedText &rFT)
{
OUString sSelEntry;
@@ -1800,7 +1800,7 @@ void SvxSwPosSizeTabPage::FillRelLB(FrmMap *pMap, sal_uInt16 nMapPos, sal_uInt16
RelHdl(rLB);
}
-sal_uInt16 SvxSwPosSizeTabPage::FillPosLB(FrmMap *_pMap,
+sal_uInt16 SvxSwPosSizeTabPage::FillPosLB(FrmMap const *_pMap,
sal_uInt16 _nAlign,
const sal_uInt16 _nRel,
ListBox &_rLB)