Tag: cws_dev300_dba31c User: fs Date: 2008-09-06 20:32:48+0000 Modified: dba/dbaccess/inc/genericcontroller.hxx
Log: #i91830# replaced Mutex with SharedMutex File Changes: Directory: /dba/dbaccess/inc/ ============================= File [changed]: genericcontroller.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/inc/genericcontroller.hxx?r1=1.13.38.1&r2=1.13.38.2 Delta lines: +5 -4 ------------------- --- genericcontroller.hxx 2008-09-03 11:56:14+0000 1.13.38.1 +++ genericcontroller.hxx 2008-09-06 20:32:45+0000 1.13.38.2 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: genericcontroller.hxx,v $ - * $Revision: 1.13.38.1 $ + * $Revision: 1.13.38.2 $ * * This file is part of OpenOffice.org. * @@ -59,6 +59,7 @@ /** === end UNO includes === **/ #include <comphelper/broadcasthelper.hxx> +#include <comphelper/sharedmutex.hxx> #include <comphelper/namedvaluecollection.hxx> #include <comphelper/stl_types.hxx> #include <connectivity/dbexception.hxx> @@ -179,7 +180,7 @@ }; // .................................................................... - typedef ::comphelper::OBaseMutex OGenericUnoController_MBASE; + typedef ::comphelper::SharedMutexBase OGenericUnoController_MBASE; typedef ::cppu::WeakComponentImplHelper11 < ::com::sun::star::frame::XDispatch , ::com::sun::star::frame::XDispatchProviderInterceptor @@ -255,7 +256,7 @@ // ---------------------------------------------------------------- // attribute access - ::osl::Mutex& getMutex( ) { return OGenericUnoController_MBASE::m_aMutex; } + ::osl::Mutex& getMutex() const { return OGenericUnoController_MBASE::getMutex(); } ::cppu::OBroadcastHelper& getBroadcastHelper() { return OGenericUnoController_Base::rBHelper; } // ---------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
