summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-08 12:08:55 +0200
committerNoel Grandin <noel@peralex.com>2014-05-08 12:08:55 +0200
commitbdfcc8c92947b7c1629c3b7f3a0326ed01c4cf17 (patch)
treea90945a281a7f0562f24c55471ded70bf3ad1ab4 /sal
parentadef90807391c039408d40e283e38eaae77f0fee (diff)
fix MACOS build
after commit 78b9537 "various: sal_Bool->bool" Change-Id: Ia2842ac3c23d629a29edadf2b4699135b4d124ae
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/security.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/unx/security.cxx b/sal/osl/unx/security.cxx
index 6afdc1c335a3..746685823226 100644
--- a/sal/osl/unx/security.cxx
+++ b/sal/osl/unx/security.cxx
@@ -463,15 +463,15 @@ static bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDir
*/
#define MACOSX_CONFIG_DIR "/Library/Application Support" /* Used on iOS, too */
-static sal_Bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDirectory, sal_uInt32 nMax)
+static bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDirectory, sal_uInt32 nMax)
{
if( osl_psz_getHomeDir(Security, pszDirectory, nMax - sizeof(MACOSX_CONFIG_DIR) + 1) )
{
strcat( pszDirectory, MACOSX_CONFIG_DIR );
- return sal_True;
+ return true;
}
- return sal_False;
+ return false;
}
#endif