summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-21 19:20:31 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-21 19:20:31 +0100
commitb2a13845559c1be7cade887bc3a337e87bc57a51 (patch)
tree09e31668493d0bbde741584af8c92b7f3d992548 /sal
parent79b6edcb6854989253021295e8d35ecfcf0a3874 (diff)
loplugin:literaltoboolconversion
Change-Id: I5796e8b4c156b13c5cab42bc0012d241efb1c4d9
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/file_volume.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sal/osl/unx/file_volume.cxx b/sal/osl/unx/file_volume.cxx
index 576ead4e3cd8..0473b9fd879a 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 */