diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-12 15:19:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-12 15:19:41 +0200 |
commit | 5c961fa9ea771572c262fe06ced8e6bda42f60e8 (patch) | |
tree | dbba1b7ebdba416813ba28e3f15fe2fbcd74a363 /editeng | |
parent | db67702eb3ae2b353da0a2bc144be77c997039c8 (diff) |
Missing SolarMutexGuard
...the non-mutex'ed access to the static LinguMgr members from other functions
makes it look like those are all assumed to be called with SolarMutex locked;
but that does not hold for calls to LinguMgrAppExitLstnr::disposing.
Change-Id: I225a9f7ace65774460502a4aa510abddd48d12ca
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/misc/unolingu.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index c98718b44c4f..e9c087bdfc09 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -45,6 +45,7 @@ #include <ucbhelper/commandenvironment.hxx> #include <ucbhelper/content.hxx> #include <vcl/msgbox.hxx> +#include <vcl/svapp.hxx> #include <tools/shl.hxx> #include <linguistic/misc.hxx> #include <editeng/eerdll.hxx> @@ -490,6 +491,8 @@ public: void LinguMgrExitLstnr::AtExit() { + SolarMutexGuard g; + // release references LinguMgr::xLngSvcMgr = 0; LinguMgr::xSpell = 0; |