diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-25 12:22:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-25 16:59:32 +0100 |
commit | e5e4c54da56941c1a10d34c5dc515c72efcf3200 (patch) | |
tree | f2e4814b815d5c879aa20537c8111f71122b90a6 | |
parent | c1458fe869a44f6982a386db1e9edea221186fe2 (diff) |
micro optimizations
-rw-r--r-- | sal/osl/unx/file_path_helper.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/unx/file_path_helper.cxx b/sal/osl/unx/file_path_helper.cxx index 05aa589fadab..76045efe661a 100644 --- a/sal/osl/unx/file_path_helper.cxx +++ b/sal/osl/unx/file_path_helper.cxx @@ -62,11 +62,11 @@ const sal_Unicode FPH_CHAR_COLON = (sal_Unicode)':'; inline const rtl::OUString FPH_PATH_SEPARATOR() - { return rtl::OUString::createFromAscii("/"); } + { return rtl::OUString(FPH_CHAR_PATH_SEPARATOR); } inline const rtl::OUString FPH_LOCAL_DIR_ENTRY() - { return rtl::OUString::createFromAscii("."); } + { return rtl::OUString(FPH_CHAR_PATH_SEPARATOR); } inline const rtl::OUString FPH_PARENT_DIR_ENTRY() - { return rtl::OUString::createFromAscii(".."); } + { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("..")); } /******************************************* * osl_systemPathRemoveSeparator |