diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-10 08:10:26 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-10 08:10:26 +0100 |
commit | 172257062881dab61b71367c8be31460e9b26cc9 (patch) | |
tree | 224e90357210a7f27e73f38094bf0e9f9fef38b0 /shell/source/unix/sysshell | |
parent | d09f0799e9c836c027d0c7f60e03822fc88c762a (diff) |
New loplugin:conststringvar: shell
Change-Id: Ie375164d9c461c25d256f321e4efd0aedc73a263
Diffstat (limited to 'shell/source/unix/sysshell')
-rw-r--r-- | shell/source/unix/sysshell/recently_used_file_handler.cxx | 10 |
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( |