diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-21 09:27:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-21 11:39:01 +0200 |
commit | 7ed178077cc1348d72ae936a2762085e278d79d0 (patch) | |
tree | 647c72fc783a77f2347ee06a63e22eee79fef99c /sfx2/source/doc/doctempl.cxx | |
parent | bc7a68d06c0fd92b8eda473600438fd6dc2164c6 (diff) |
loplugin:constparams in sfx2
Change-Id: Id982c8fb5654433e9db10e2da6a86a6c8d90b9b4
Reviewed-on: https://gerrit.libreoffice.org/40261
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/doc/doctempl.cxx')
-rw-r--r-- | sfx2/source/doc/doctempl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index 5a29eff8f3cf..a1699820bc10 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -178,7 +178,7 @@ public: const size_t *pPos ); void DeleteEntry( size_t nIndex ); - int Compare( RegionData_Impl* pCompareWith ) const; + int Compare( RegionData_Impl const * pCompareWith ) const; }; typedef vector< RegionData_Impl* > RegionList_Impl; @@ -1440,7 +1440,7 @@ void RegionData_Impl::DeleteEntry( size_t nIndex ) } -int RegionData_Impl::Compare( RegionData_Impl* pCompare ) const +int RegionData_Impl::Compare( RegionData_Impl const * pCompare ) const { return maTitle.compareTo( pCompare->maTitle ); } |