summaryrefslogtreecommitdiff
path: root/vcl/aqua/source/app
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/aqua/source/app')
-rw-r--r--vcl/aqua/source/app/salinst.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/aqua/source/app/salinst.cxx b/vcl/aqua/source/app/salinst.cxx
index 2cc777b80cd3..4b6a96090268 100644
--- a/vcl/aqua/source/app/salinst.cxx
+++ b/vcl/aqua/source/app/salinst.cxx
@@ -75,7 +75,7 @@ using namespace ::com::sun::star;
extern BOOL ImplSVMain();
-static BOOL* gpbInit = 0;
+static int* gpnInit = 0;
static NSMenu* pDockMenu = nil;
static bool bNoSVMain = true;
static bool bLeftMain = false;
@@ -209,9 +209,9 @@ static void initNSApp()
[NSApp activateIgnoringOtherApps: YES];
}
-BOOL ImplSVMainHook( BOOL * pbInit )
+BOOL ImplSVMainHook( int * pnInit )
{
- gpbInit = pbInit;
+ gpnInit = pnInit;
bNoSVMain = false;
initNSApp();
@@ -587,9 +587,9 @@ void AquaSalInstance::handleAppDefinedEvent( NSEvent* pEvent )
break;
case AppExecuteSVMain:
{
- BOOL bResult = ImplSVMain();
- if( gpbInit )
- *gpbInit = bResult;
+ int nResult = ImplSVMain();
+ if( gpnInit )
+ *gpnInit = nResult;
[NSApp stop: NSApp];
bLeftMain = true;
if( pDockMenu )