From b2a13845559c1be7cade887bc3a337e87bc57a51 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 21 Feb 2014 19:20:31 +0100 Subject: loplugin:literaltoboolconversion Change-Id: I5796e8b4c156b13c5cab42bc0012d241efb1c4d9 --- sal/osl/unx/file_volume.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'sal') 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 */ -- cgit