diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-11-15 12:29:17 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-11-15 12:29:17 +0000 |
commit | a9ef925e078d06cb9095375b5fa7f370da4eb5e2 (patch) | |
tree | 0ec3aed661475917b38c045abf9a5dfc5965c3ca /basic/source/classes/sbxmod.cxx | |
parent | c341a9c698a818011b7f4493e350bc64bccbf5fd (diff) |
INTEGRATION: CWS tbe13 (1.17.36); FILE MERGED
2004/11/04 11:20:41 ab 1.17.36.1: #i30690# Protect call to Basic IDE Error handling and resource access with SolarMutex
Diffstat (limited to 'basic/source/classes/sbxmod.cxx')
-rw-r--r-- | basic/source/classes/sbxmod.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 59a82c9051..379ef37092 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -2,9 +2,9 @@ * * $RCSfile: sbxmod.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: pjunck $ $Date: 2004-11-02 11:52:32 $ + * last change: $Author: obo $ $Date: 2004-11-15 13:29:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -87,6 +87,9 @@ #include <hilight.hxx> #include <basrdll.hxx> +#ifndef _VOS_MUTEX_HXX_ +#include <vos/mutex.hxx> +#endif // for the bsearch #ifdef WNT @@ -721,6 +724,9 @@ USHORT SbModule::Run( SbMethod* pMeth ) DBG_ASSERT(pINST->nCallLvl==0,"BASIC-Call-Level > 0") delete pINST, pINST = NULL, bDelInst = FALSE; + + // #i30690 + vos::OGuard aSolarGuard( Application::GetSolarMutex() ); SendHint( GetParent(), SBX_HINT_BASICSTOP, pMeth ); GlobalRunDeInit(); |