From 0680fc5195287648793f4d0a4d54b3c9b655d5d3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 Jan 2017 08:11:57 +0100 Subject: New loplugin:conststringvar: helpcompiler Change-Id: Iaf9cedae10b9bc04353d175778ff68cb38fdb409 --- helpcompiler/source/HelpLinker.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpcompiler') diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx index cfff46a16a34..3c992bed0c9b 100644 --- a/helpcompiler/source/HelpLinker.cxx +++ b/helpcompiler/source/HelpLinker.cxx @@ -206,7 +206,7 @@ namespace URLEncoder { static std::string encode(const std::string &rIn) { - const char *good = "!$&'()*+,-.=@_"; + const char * const good = "!$&'()*+,-.=@_"; static const char hex[17] = "0123456789ABCDEF"; std::string result; -- cgit