diff options
Diffstat (limited to 'vcl/source/app/svmainhook.cxx')
-rw-r--r-- | vcl/source/app/svmainhook.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/app/svmainhook.cxx b/vcl/source/app/svmainhook.cxx index 413b28b3affb..789af7efbe2b 100644 --- a/vcl/source/app/svmainhook.cxx +++ b/vcl/source/app/svmainhook.cxx @@ -31,9 +31,9 @@ #ifndef MACOSX -BOOL ImplSVMainHook( BOOL * ) +sal_Bool ImplSVMainHook( sal_Bool * ) { - return FALSE; // indicate that ImplSVMainHook is not implemented + return sal_False; // indicate that ImplSVMainHook is not implemented } #else @@ -45,7 +45,7 @@ BOOL ImplSVMainHook( BOOL * ) #include <postmac.h> #include <unistd.h> -extern BOOL ImplSVMain(); +extern sal_Bool ImplSVMain(); // ============================================================================ @@ -56,7 +56,7 @@ static void SourceContextCallBack( void *pInfo ) struct ThreadContext { - BOOL* pRet; + sal_Bool* pRet; CFRunLoopRef* pRunLoopRef; }; @@ -75,7 +75,7 @@ static void RunSVMain(void *pData) _exit( 0 ); } -BOOL ImplSVMainHook( BOOL *pbInit ) +sal_Bool ImplSVMainHook( sal_Bool *pbInit ) { // Mac OS X requires that any Cocoa code have a CFRunLoop started in the // primordial thread. Since all of the AWT classes in Java 1.4 and higher @@ -109,7 +109,7 @@ BOOL ImplSVMainHook( BOOL *pbInit ) osl_joinWithThread( hThreadID ); osl_destroyThread( hThreadID ); - return TRUE; // indicate that ImplSVMainHook is implemented + return sal_True; // indicate that ImplSVMainHook is implemented } #endif // MACOSX |