[Libreoffice-commits] core.git: sal/osl
Stephan Bergmann
sbergman at redhat.com
Fri Feb 21 10:21:03 PST 2014
sal/osl/unx/file_volume.cxx | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
New commits:
commit b2a13845559c1be7cade887bc3a337e87bc57a51
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Feb 21 19:20:31 2014 +0100
loplugin:literaltoboolconversion
Change-Id: I5796e8b4c156b13c5cab42bc0012d241efb1c4d9
diff --git a/sal/osl/unx/file_volume.cxx b/sal/osl/unx/file_volume.cxx
index 576ead4..0473b9f 100644
--- a/sal/osl/unx/file_volume.cxx
+++ b/sal/osl/unx/file_volume.cxx
@@ -149,8 +149,8 @@ oslFileError osl_getVolumeInformation( rtl_uString* ustrDirectoryURL, oslVolumeI
/* always return true if queried for the properties of
the file system. If you think this is wrong under any
of the target platforms fix it!!!! */
-# define __OSL_STATFS_IS_CASE_SENSITIVE_FS(a) (1)
-# define __OSL_STATFS_IS_CASE_PRESERVING_FS(a) (1)
+# define __OSL_STATFS_IS_CASE_SENSITIVE_FS(a) (true)
+# define __OSL_STATFS_IS_CASE_PRESERVING_FS(a) (true)
#endif /* FREEBSD || MACOSX || OPENBSD */
#if defined(NETBSD)
@@ -204,8 +204,8 @@ oslFileError osl_getVolumeInformation( rtl_uString* ustrDirectoryURL, oslVolumeI
/* always return true if queried for the properties of
the file system. If you think this is wrong under any
of the target platforms fix it!!!! */
-# define __OSL_STATFS_IS_CASE_SENSITIVE_FS(a) (1)
-# define __OSL_STATFS_IS_CASE_PRESERVING_FS(a) (1)
+# define __OSL_STATFS_IS_CASE_SENSITIVE_FS(a) (true)
+# define __OSL_STATFS_IS_CASE_PRESERVING_FS(a) (true)
#endif /* SOLARIS */
# define __OSL_STATFS_INIT(a) (memset(&(a), 0, sizeof(__OSL_STATFS_STRUCT)))
@@ -215,9 +215,9 @@ oslFileError osl_getVolumeInformation( rtl_uString* ustrDirectoryURL, oslVolumeI
# define __OSL_STATFS_STRUCT struct dummy {int i;}
# define __OSL_STATFS_INIT(a) ((void)a)
# define __OSL_STATFS(dir, sfs) (1)
-# define __OSL_STATFS_ISREMOTE(sfs) (0)
-# define __OSL_STATFS_IS_CASE_SENSITIVE_FS(a) (1)
-# define __OSL_STATFS_IS_CASE_PRESERVING_FS(a) (1)
+# define __OSL_STATFS_ISREMOTE(sfs) (false)
+# define __OSL_STATFS_IS_CASE_SENSITIVE_FS(a) (true)
+# define __OSL_STATFS_IS_CASE_PRESERVING_FS(a) (true)
#endif /* HAVE_STATFS_H */
More information about the Libreoffice-commits
mailing list