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 | 4111d3e36aaa54f55c8c8728f7136aab10c5179c (patch) | |
tree | cd73093d555c6602fade25f2e2595476f68d8f16 /basic | |
parent | 3aa74221538afcc5f22f5df879787432c3f1f87b (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')
-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 d8fd3950fb2e..0109c5b20708 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(); |