summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorChristina Rossmanith <ChrRossmanith@web.de>2011-05-12 10:55:22 +0200
committerChristina Rossmanith <ChrRossmanith@web.de>2011-06-05 21:34:04 +0200
commit3c5bec731b487158e2d1ab05f2d2f29325a2a3ac (patch)
tree0707db13c7e8d10e271357f12e99f2964417d616 /sal
parenta239cecb3dc8869b2f05578b8000bd6ae3186903 (diff)
Simplified if ((FileBase::E_None != rc) && (FileBase::E_INVAL == rc))
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/file_url.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/file_url.cxx b/sal/osl/unx/file_url.cxx
index a005cc87b..858a7d7bb 100644
--- a/sal/osl/unx/file_url.cxx
+++ b/sal/osl/unx/file_url.cxx
@@ -762,7 +762,7 @@ oslFileError osl_searchFileURL(rtl_uString* ustrFilePath, rtl_uString* ustrSearc
// try to interpret search path as file url else assume it's a system path list
rc = FileBase::getSystemPathFromFileURL(rtl::OUString(ustrFilePath), file_path);
- if ((FileBase::E_None != rc) && (FileBase::E_INVAL == rc))
+ if (FileBase::E_INVAL == rc)
file_path = ustrFilePath;
else if (FileBase::E_None != rc)
return oslFileError(rc);