summaryrefslogtreecommitdiff
path: root/vcl/aqua/source/app/saldata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/aqua/source/app/saldata.cxx')
-rw-r--r--vcl/aqua/source/app/saldata.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/vcl/aqua/source/app/saldata.cxx b/vcl/aqua/source/app/saldata.cxx
index c8339fdc3082..b5092126790b 100644
--- a/vcl/aqua/source/app/saldata.cxx
+++ b/vcl/aqua/source/app/saldata.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: saldata.cxx,v $
- * $Revision: 1.14 $
+ * $Revision: 1.13.64.3 $
*
* This file is part of OpenOffice.org.
*
@@ -34,6 +34,7 @@
#include "saldata.hxx"
#include "salnsmenu.h"
#include "salinst.h"
+#import "apple_remote/RemoteMainController.h"
oslThreadKey SalData::s_aAutoReleaseKey = 0;
@@ -59,6 +60,7 @@ SalData::SalData()
maCursors( POINTER_COUNT, INVALID_CURSOR_PTR ),
mbIsScrollbarDoubleMax( false ),
mnSystemVersion( VER_TIGER ),
+ mpMainController( NULL ),
mbIsTestTool( false )
{
if( s_aAutoReleaseKey == 0 )
@@ -91,6 +93,8 @@ SalData::~SalData()
osl_destroyThreadKey( s_aAutoReleaseKey );
s_aAutoReleaseKey = NULL;
}
+ if ( mpMainController )
+ [mpMainController release];
}
void SalData::ensureThreadAutoreleasePool()