summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-10-23 21:07:49 +0200
committerMichael Stahl <mstahl@redhat.com>2014-10-23 21:30:45 +0200
commit28adfcdcbc504db8d5014a8939aa5e834e5d43d0 (patch)
treeb1879661cab9d8e03b9cdd8d13a9b51ac5ad8e9e /sfx2/source
parent51906611abb53e8a22f2d460964e87b0b399d684 (diff)
fdo#84935: basic: avoid silly SolarMutex asserts on exit on Mac
Change-Id: If22b8ff962d2b68130176de3b7b9eccacfc850dc
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/appl/app.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx
index 0eeb327f7db5..7c3b8884b56a 100644
--- a/sfx2/source/appl/app.cxx
+++ b/sfx2/source/appl/app.cxx
@@ -232,11 +232,12 @@ SfxApplication::~SfxApplication()
// delete global options
SvtViewOptions::ReleaseOptions();
+ if ( !pAppData_Impl->bDowning )
+ Deinitialize();
+
#if HAVE_FEATURE_SCRIPTING
delete pBasic;
#endif
- if ( !pAppData_Impl->bDowning )
- Deinitialize();
delete pAppData_Impl;
pApp = 0;