diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/unix/sysshell/recently_used_file.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/source/unix/sysshell/recently_used_file.cxx b/shell/source/unix/sysshell/recently_used_file.cxx index 5a9b4643081b..b15cc9b52a77 100644 --- a/shell/source/unix/sysshell/recently_used_file.cxx +++ b/shell/source/unix/sysshell/recently_used_file.cxx @@ -30,15 +30,15 @@ #include <fcntl.h> #include <unistd.h> -const OUString RECENTLY_USED_FILE_NAME(".recently-used"); -const OUString SLASH("/"); +const OUStringLiteral RECENTLY_USED_FILE_NAME(".recently-used"); +const char SLASH[] = "/"; namespace /* private */ { inline void ensure_final_slash(/*inout*/ OUString& path) { if (!path.isEmpty() && - (SLASH.pData->buffer[0] != path.pData->buffer[path.getLength() - 1])) + (SLASH[0] != path.pData->buffer[path.getLength() - 1])) path += SLASH; } |