diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-08 12:03:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-09 15:05:54 +0200 |
commit | 1dd5e226bd57254024640b10cbbe639f12564655 (patch) | |
tree | 6fbbe3197fbb7f74eaa5786919ced46a06cbf39d /sfx2 | |
parent | 027b25ecd54ac97ea2471ca73e3ba89ce052fe76 (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')
-rw-r--r-- | sfx2/source/doc/doctempl.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/doc/syspath.cxx | 2 |
2 files changed, 3 insertions, 3 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, diff --git a/sfx2/source/doc/syspath.cxx b/sfx2/source/doc/syspath.cxx index 32094d331f39..44525e5fcbf4 100644 --- a/sfx2/source/doc/syspath.cxx +++ b/sfx2/source/doc/syspath.cxx @@ -20,7 +20,7 @@ #include "syspath.hxx" #include <syspathw32.hxx> -bool SystemPath::GetUserTemplateLocation(sal_Unicode* pFolder, int nSize ) +bool SystemPath::GetUserTemplateLocation( sal_Unicode* pFolder, int nSize ) { #ifdef _WIN32 return ::GetUserTemplateLocation( pFolder, nSize ); |