diff options
author | David Tardon <dtardon@redhat.com> | 2012-03-07 12:43:28 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-03-07 14:01:29 +0100 |
commit | c5dc8967644639514e760034031da8b4a8d705ef (patch) | |
tree | 44b116eeb93dabd4e7e6a1b810a8a2dac285ec50 /sal | |
parent | WaE: deprecated conversion from string constant to 'LPWSTR' (diff) | |
download | core-c5dc8967644639514e760034031da8b4a8d705ef.tar.gz core-c5dc8967644639514e760034031da8b4a8d705ef.zip |
WaE: comparison between 'enum oslFileError' and 'enum osl::FileBase::RC'
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/procimpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/w32/procimpl.cxx b/sal/osl/w32/procimpl.cxx index ecf8eb310605..0cdfa58ddff6 100644 --- a/sal/osl/w32/procimpl.cxx +++ b/sal/osl/w32/procimpl.cxx @@ -355,7 +355,7 @@ namespace /* private */ osl_searchFileURL(exe_name.pData, NULL, &exe_url.pData); rtl::OUString exe_path; - if (osl_File_E_None != osl::FileBase::getSystemPathFromFileURL(exe_url, exe_path)) + 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"))); @@ -504,7 +504,7 @@ oslProcessError SAL_CALL osl_executeProcess_WithRedirectedIO( } rtl::OUString cwd; - if (ustrDirectory && ustrDirectory->length && (osl_File_E_None != osl::FileBase::getSystemPathFromFileURL(ustrDirectory, cwd))) + if (ustrDirectory && ustrDirectory->length && (osl::FileBase::E_None != osl::FileBase::getSystemPathFromFileURL(ustrDirectory, cwd))) return osl_Process_E_InvalidError; LPCWSTR p_cwd = (cwd.getLength()) ? reinterpret_cast<LPCWSTR>(cwd.getStr()) : NULL; |