summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-06-01 15:25:30 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-01 15:36:25 -0500
commitd9e22d35c3746957f8db84151ef047fd462654ef (patch)
treec4d8c5dc14732729eabc308891c6c61d7b729515 /sal/osl
parent9311947aa0bbfda60af8f97d850d6e5b909d62b5 (diff)
targeted string re-work
Change-Id: I368b9538e3c2e6242fcdcabb4f8c716e17b02d88
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/w32/procimpl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/w32/procimpl.cxx b/sal/osl/w32/procimpl.cxx
index 0cdfa58ddff6..9dc0959b7742 100644
--- a/sal/osl/w32/procimpl.cxx
+++ b/sal/osl/w32/procimpl.cxx
@@ -60,8 +60,8 @@ extern "C" oslFileHandle SAL_CALL osl_createFileHandleFromOSHandle( HANDLE hFile
//#################################################
const sal_Unicode NAME_VALUE_SEPARATOR = TEXT('=');
const sal_Char* SPACE = " ";
-const rtl::OUString ENV_COMSPEC (RTL_CONSTASCII_USTRINGPARAM("COMSPEC"));
-const rtl::OUString QUOTE(RTL_CONSTASCII_USTRINGPARAM("\""));
+const rtl::OUString ENV_COMSPEC ("COMSPEC");
+const rtl::OUString QUOTE("\"");
namespace /* private */
{
@@ -358,7 +358,7 @@ namespace /* private */
if (osl::FileBase::E_None != osl::FileBase::getSystemPathFromFileURL(exe_url, exe_path))
return rtl::OUString();
- exe_path = getShortPath(exe_path, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(".exe")));
+ exe_path = getShortPath(exe_path, rtl::OUString(".exe"));
if (exe_path.indexOf(' ') != -1)
exe_path = quote_string(exe_path);