diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/unix/sysshell/recently_used_file.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/shell/source/unix/sysshell/recently_used_file.cxx b/shell/source/unix/sysshell/recently_used_file.cxx index b15cc9b52a77..ee0e598fbd32 100644 --- a/shell/source/unix/sysshell/recently_used_file.cxx +++ b/shell/source/unix/sysshell/recently_used_file.cxx @@ -30,10 +30,9 @@ #include <fcntl.h> #include <unistd.h> -const OUStringLiteral RECENTLY_USED_FILE_NAME(".recently-used"); const char SLASH[] = "/"; -namespace /* private */ { +namespace { inline void ensure_final_slash(/*inout*/ OUString& path) { @@ -58,7 +57,7 @@ recently_used_file::recently_used_file() : OUString rufn = homedir; ensure_final_slash(rufn); - rufn += RECENTLY_USED_FILE_NAME; + rufn += ".recently-used"; OString tmp = OUStringToOString(rufn, osl_getThreadTextEncoding()); |