[Libreoffice-commits] core.git: sal/osl

Noel Grandin noel at peralex.com
Thu May 8 03:10:02 PDT 2014


 sal/osl/unx/security.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit bdfcc8c92947b7c1629c3b7f3a0326ed01c4cf17
Author: Noel Grandin <noel at peralex.com>
Date:   Thu May 8 12:08:55 2014 +0200

    fix MACOS build
    
    after commit 78b9537 "various: sal_Bool->bool"
    
    Change-Id: Ia2842ac3c23d629a29edadf2b4699135b4d124ae

diff --git a/sal/osl/unx/security.cxx b/sal/osl/unx/security.cxx
index 6afdc1c..7466858 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


More information about the Libreoffice-commits mailing list