summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-10 08:10:26 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-10 08:10:26 +0100
commit172257062881dab61b71367c8be31460e9b26cc9 (patch)
tree224e90357210a7f27e73f38094bf0e9f9fef38b0 /shell
parentd09f0799e9c836c027d0c7f60e03822fc88c762a (diff)
New loplugin:conststringvar: shell
Change-Id: Ie375164d9c461c25d256f321e4efd0aedc73a263
Diffstat (limited to 'shell')
-rw-r--r--shell/source/unix/sysshell/recently_used_file_handler.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/shell/source/unix/sysshell/recently_used_file_handler.cxx b/shell/source/unix/sysshell/recently_used_file_handler.cxx
index 0d2aead07a79..cf7dad8e5c0f 100644
--- a/shell/source/unix/sysshell/recently_used_file_handler.cxx
+++ b/shell/source/unix/sysshell/recently_used_file_handler.cxx
@@ -321,8 +321,8 @@ namespace /* private */ {
};
- const char* XML_HEADER = "<?xml version=\"1.0\"?>\n<RecentFiles>\n";
- const char* XML_FOOTER = "</RecentFiles>";
+ const char* const XML_HEADER = "<?xml version=\"1.0\"?>\n<RecentFiles>\n";
+ const char* const XML_FOOTER = "</RecentFiles>";
// assumes that the list is ordered decreasing
@@ -385,9 +385,9 @@ namespace /* private */ {
};
- const char* GROUP_OOO = "openoffice.org";
- const char* GROUP_STAR_OFFICE = "staroffice";
- const char* GROUP_STAR_SUITE = "starsuite";
+ const char* const GROUP_OOO = "openoffice.org";
+ const char* const GROUP_STAR_OFFICE = "staroffice";
+ const char* const GROUP_STAR_SUITE = "starsuite";
void recently_used_item_list_add(