summaryrefslogtreecommitdiff
path: root/helpcompiler
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-10 08:11:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-10 08:11:57 +0100
commit0680fc5195287648793f4d0a4d54b3c9b655d5d3 (patch)
tree7bb1d3a07e70ed837c46bc1298d0bb696630ac59 /helpcompiler
parent3b4a35762e47d944ce004cf1a5a2d84fbc78979f (diff)
New loplugin:conststringvar: helpcompiler
Change-Id: Iaf9cedae10b9bc04353d175778ff68cb38fdb409
Diffstat (limited to 'helpcompiler')
-rw-r--r--helpcompiler/source/HelpLinker.cxx2
1 files changed, 1 insertions, 1 deletions
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;