diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-09-23 11:51:27 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-09-23 11:51:27 +0000 |
commit | 65f81bcf01a67349c3d66f7b492c2ca029f6e6bf (patch) | |
tree | 6e03a3bbcb07eebcf91782bb3e544db36865646f /extensions/source/bibliography/toolbar.cxx | |
parent | 1f98910a952054fb4b69a5e2c8c6597af2b39b2b (diff) |
INTEGRATION: CWS dba201b (1.14.144); FILE MERGED
2005/09/21 06:55:29 oj 1.14.144.2: RESYNC: (1.14-1.15); FILE MERGED
2005/07/11 13:56:12 fs 1.14.144.1: merging CWS dba201a into CWS dba201b
Diffstat (limited to 'extensions/source/bibliography/toolbar.cxx')
-rw-r--r-- | extensions/source/bibliography/toolbar.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx index f170442b298e..4e369d41bb38 100644 --- a/extensions/source/bibliography/toolbar.cxx +++ b/extensions/source/bibliography/toolbar.cxx @@ -4,9 +4,9 @@ * * $RCSfile: toolbar.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: rt $ $Date: 2005-09-08 19:21:06 $ + * last change: $Author: hr $ $Date: 2005-09-23 12:51:27 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -77,6 +77,9 @@ #ifndef BIBTOOLS_HXX #include "bibtools.hxx" #endif +#ifndef _VOS_MUTEX_HXX_ +#include <vos/mutex.hxx> +#endif using namespace ::rtl; using namespace ::com::sun::star; @@ -103,6 +106,7 @@ void BibToolBarListener::statusChanged(const ::com::sun::star::frame::FeatureSta { if(rEvt.FeatureURL.Complete == aCommand) { + vos::OGuard aGuard(Application::GetSolarMutex()); pToolBar->EnableItem(nIndex,rEvt.IsEnabled); ::com::sun::star::uno::Any aState=rEvt.State; @@ -150,6 +154,7 @@ void BibTBListBoxListener::statusChanged(const ::com::sun::star::frame::FeatureS { if(rEvt.FeatureURL.Complete == GetCommand()) { + vos::OGuard aGuard(Application::GetSolarMutex()); pToolBar->EnableSourceList(rEvt.IsEnabled); Any aState = rEvt.State; @@ -189,6 +194,7 @@ void BibTBQueryMenuListener::statusChanged(const frame::FeatureStateEvent& rEvt) { if(rEvt.FeatureURL.Complete == GetCommand()) { + vos::OGuard aGuard(Application::GetSolarMutex()); pToolBar->EnableSourceList(rEvt.IsEnabled); uno::Any aState=rEvt.State; @@ -226,6 +232,7 @@ void BibTBEditListener::statusChanged(const frame::FeatureStateEvent& rEvt)throw { if(rEvt.FeatureURL.Complete == GetCommand()) { + vos::OGuard aGuard(Application::GetSolarMutex()); pToolBar->EnableQuery(rEvt.IsEnabled); uno::Any aState=rEvt.State; |