diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-03-29 10:12:37 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-03-29 23:03:26 +0300 |
commit | da1d01a432e160031abbf445b4efe879a664bbfa (patch) | |
tree | 9be4abdc0b9e65c7132993c9b0a10b9150797dff /sal/osl/unx | |
parent | b9446cd44397ef09db75eb2f2425421d2baaf9b3 (diff) |
Minor simplification
Change-Id: Idcf9158d0446107ec783fd8691078791d7b25e31
Diffstat (limited to 'sal/osl/unx')
-rw-r--r-- | sal/osl/unx/file_url.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sal/osl/unx/file_url.cxx b/sal/osl/unx/file_url.cxx index 30c03ba2eebc..742b3f5a6a29 100644 --- a/sal/osl/unx/file_url.cxx +++ b/sal/osl/unx/file_url.cxx @@ -697,11 +697,8 @@ oslFileError osl_searchFileURL(rtl_uString* ustrFilePath, rtl_uString* ustrSearc if (osl::realpath(result, resolved)) { -#if OSL_DEBUG_LEVEL > 0 - oslFileError osl_error = -#endif - osl_getFileURLFromSystemPath(resolved.pData, pustrURL); - OSL_ASSERT(osl_File_E_None == osl_error); + oslFileError osl_error = osl_getFileURLFromSystemPath(resolved.pData, pustrURL); + SAL_WARN_IF(osl_File_E_None != osl_error, "sal.file", "osl_getFileURLFromSystemPath failed"); bfound = true; } } |