[Libreoffice-commits] .: sal/osl
François Tigeot
ftigeot at kemper.freedesktop.org
Sun Feb 27 04:24:42 PST 2011
sal/osl/unx/file_error_transl.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 7f8af4f23d279747455e5266eb6c34572319b621
Author: Francois Tigeot <ftigeot at wolfpond.org>
Date: Sun Feb 27 13:22:34 2011 +0100
Consolidate three #if defined tests in a single one.
diff --git a/sal/osl/unx/file_error_transl.cxx b/sal/osl/unx/file_error_transl.cxx
index a5297c7..d3e23c1 100644
--- a/sal/osl/unx/file_error_transl.cxx
+++ b/sal/osl/unx/file_error_transl.cxx
@@ -221,15 +221,11 @@ oslFileError oslTranslateFileError(sal_Bool bIsError, int Errno)
case EILSEQ:
osl_error = osl_File_E_ILSEQ;
break;
-#endif /* MACOSX */
-#if !(defined(MACOSX) || defined(NETBSD) || defined(FREEBSD) || defined(OPENBSD))
case ENOLINK:
osl_error = osl_File_E_NOLINK;
break;
-#endif /* MACOSX */
-#if !(defined(MACOSX) || defined(NETBSD) || defined(FREEBSD) || defined(OPENBSD))
case EMULTIHOP:
osl_error = osl_File_E_MULTIHOP;
break;
More information about the Libreoffice-commits
mailing list