diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-08-22 10:05:55 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-08-22 14:55:29 +0200 |
commit | f1b5c883cb00210055abb7ddccf94d9736089234 (patch) | |
tree | 9571e779454f41bc2225fe980bc01eec01966f07 | |
parent | 93efd1016a3eb39f2e35476837a249f0f1793f72 (diff) |
No need currently for static oslThread m_Mozilla_UI_Thread
...though the real fix of course would be to keep the oslThread around to join
it later.
Change-Id: I604431cd59e623a7ec97734800136464fd272802
-rw-r--r-- | connectivity/source/drivers/mozab/bootstrap/MNSInit.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSInit.cxx b/connectivity/source/drivers/mozab/bootstrap/MNSInit.cxx index f432f33b46f4..7b041946d271 100644 --- a/connectivity/source/drivers/mozab/bootstrap/MNSInit.cxx +++ b/connectivity/source/drivers/mozab/bootstrap/MNSInit.cxx @@ -42,7 +42,6 @@ static NS_DEFINE_CID(kProfileCID, NS_PROFILE_CID); static NS_DEFINE_CID(kPrefCID, NS_PREF_CID); static NS_DEFINE_CID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID); -static oslThread m_Mozilla_UI_Thread; static PRBool aLive=1; static ::osl::Condition m_aUI_Thread_Condition; @@ -286,9 +285,7 @@ sal_Bool MNS_Init(sal_Bool& aProfileExists) args->bProfileExists = &aProfileExists; m_aUI_Thread_Condition.reset(); - m_Mozilla_UI_Thread=osl_createThread(MNS_Mozilla_UI_Thread, - (void*)args); - if (!m_Mozilla_UI_Thread) + if (osl_createThread(MNS_Mozilla_UI_Thread, (void*)args) == 0) { return sal_False; } |