From 72f36adb93d24a3da8868dad128ab2eca0124fda Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 18 Jul 2017 09:02:03 +0200 Subject: loplugin:constparams in vcl Change-Id: I36afe2107e07ffb9b73c0b76be600e3e999a0fd4 Reviewed-on: https://gerrit.libreoffice.org/40116 Tested-by: Jenkins Reviewed-by: Noel Grandin --- helpcompiler/inc/HelpLinker.hxx | 4 ++-- helpcompiler/source/HelpLinker.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'helpcompiler') diff --git a/helpcompiler/inc/HelpLinker.hxx b/helpcompiler/inc/HelpLinker.hxx index 3fdbbe015230..9002445e3784 100644 --- a/helpcompiler/inc/HelpLinker.hxx +++ b/helpcompiler/inc/HelpLinker.hxx @@ -50,8 +50,8 @@ class L10N_DLLPUBLIC HelpLinker public: /// @throws HelpProcessingException void main(std::vector &args, - std::string* pExtensionPath = nullptr, - std::string* pDestination = nullptr, + std::string const * pExtensionPath = nullptr, + std::string const * pDestination = nullptr, const OUString* pOfficeHelpPath = nullptr ); HelpLinker() diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx index c2f77ec9374a..b45dceae3f5c 100644 --- a/helpcompiler/source/HelpLinker.cxx +++ b/helpcompiler/source/HelpLinker.cxx @@ -532,7 +532,7 @@ void HelpLinker::link() void HelpLinker::main( std::vector &args, - std::string* pExtensionPath, std::string* pDestination, + std::string const * pExtensionPath, std::string const * pDestination, const OUString* pOfficeHelpPath ) { bExtensionMode = false; -- cgit