summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/doctempl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-08 12:03:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-09 15:05:54 +0200
commit1dd5e226bd57254024640b10cbbe639f12564655 (patch)
tree6fbbe3197fbb7f74eaa5786919ced46a06cbf39d /sfx2/source/doc/doctempl.cxx
parent027b25ecd54ac97ea2471ca73e3ba89ce052fe76 (diff)
clang-tidy readability-non-const-parameter
Change-Id: I7b2680898dbfc49185fb949349d81f4ac615a470 Reviewed-on: https://gerrit.libreoffice.org/38593 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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index ca3ebf2428be..a3733619f5f7 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -178,7 +178,7 @@ public:
void AddEntry( const OUString& rTitle,
const OUString& rTargetURL,
- size_t *pPos );
+ const size_t *pPos );
void DeleteEntry( size_t nIndex );
int Compare( RegionData_Impl* pCompareWith ) const;
@@ -1341,7 +1341,7 @@ size_t RegionData_Impl::GetEntryPos( const OUString& rTitle, bool& rFound ) cons
void RegionData_Impl::AddEntry( const OUString& rTitle,
const OUString& rTargetURL,
- size_t *pPos )
+ const size_t *pPos )
{
INetURLObject aLinkObj( GetHierarchyURL() );
aLinkObj.insertName( rTitle, false,