diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-16 03:22:02 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-25 19:56:10 -0500 |
commit | 99b69249ec528250782eb8f7473935042e26312b (patch) | |
tree | f1e1adb300afa34e7ce21fca8f3af0a605c7759c | |
parent | e93d748106a8e52a88ce11d2fb3e0651505dd677 (diff) |
merge vosremoval-mutex.diff
In practice the changeset is 'inspired' by vosremoval-mutex.diff
but was essentially redone manually
75 files changed, 137 insertions, 138 deletions
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx index 21f70ee059..6b8f72b5cf 100644 --- a/starmath/source/accessibility.cxx +++ b/starmath/source/accessibility.cxx @@ -48,7 +48,7 @@ #include <vcl/window.hxx> #include <vcl/unohelp2.hxx> #include <tools/gen.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <svl/itemset.hxx> #include <editeng/editobj.hxx> diff --git a/starmath/source/smdetect.cxx b/starmath/source/smdetect.cxx index 0348da116a..8f21cc7322 100644 --- a/starmath/source/smdetect.cxx +++ b/starmath/source/smdetect.cxx @@ -59,7 +59,7 @@ #include <svl/eitem.hxx> #include <svl/stritem.hxx> #include <tools/urlobj.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <svtools/sfxecode.hxx> #include <svtools/ehdl.hxx> #include <sot/storinfo.hxx> diff --git a/starmath/source/unodoc.cxx b/starmath/source/unodoc.cxx index 591ee432a6..9fae49f782 100644 --- a/starmath/source/unodoc.cxx +++ b/starmath/source/unodoc.cxx @@ -38,7 +38,7 @@ #include "smdll.hxx" #include "document.hxx" -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> using namespace ::com::sun::star; diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index 79e12827e8..4366dd516a 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -30,7 +30,7 @@ #include "precompiled_starmath.hxx" -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <osl/mutex.hxx> #include <sfx2/printer.hxx> #include <vcl/svapp.hxx> diff --git a/sw/inc/accmap.hxx b/sw/inc/accmap.hxx index bccb96d1c3..7170d762d2 100644 --- a/sw/inc/accmap.hxx +++ b/sw/inc/accmap.hxx @@ -31,7 +31,7 @@ #include <cppuhelper/weakref.hxx> #include <com/sun/star/accessibility/XAccessible.hpp> #include <rtl/ref.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <svx/IAccessibleViewForwarder.hxx> #include <svx/IAccessibleParent.hxx> #include <tools/debug.hxx> @@ -88,8 +88,8 @@ typedef sal_uInt16 tAccessibleStates; class SwAccessibleMap : public accessibility::IAccessibleViewForwarder, public accessibility::IAccessibleParent { - mutable ::vos::OMutex maMutex; - ::vos::OMutex maEventMutex; + mutable ::osl::Mutex maMutex; + ::osl::Mutex maEventMutex; SwAccessibleContextMap_Impl *mpFrmMap; SwAccessibleShapeMap_Impl *mpShapeMap; SwShapeList_Impl *mpShapes; diff --git a/sw/inc/pch/precompiled_sw.hxx b/sw/inc/pch/precompiled_sw.hxx index 2bea3ee96a..6784017294 100644 --- a/sw/inc/pch/precompiled_sw.hxx +++ b/sw/inc/pch/precompiled_sw.hxx @@ -954,7 +954,7 @@ #include "vcl/wintypes.hxx" #include "vcl/wrkwin.hxx" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "rtl/ref.hxx" #include "xmloff/DocumentSettingsContext.hxx" diff --git a/sw/inc/unobaseclass.hxx b/sw/inc/unobaseclass.hxx index 047e0996a5..2821e277e7 100644 --- a/sw/inc/unobaseclass.hxx +++ b/sw/inc/unobaseclass.hxx @@ -104,7 +104,7 @@ void ClientModify(SwClient* pClient, SfxPoolItem *pOld, SfxPoolItem *pNew); #include <boost/utility.hpp> #include <osl/diagnose.h> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> namespace sw { diff --git a/sw/source/core/access/acccell.cxx b/sw/source/core/access/acccell.cxx index 68705dd419..d0ba1db4e1 100644 --- a/sw/source/core/access/acccell.cxx +++ b/sw/source/core/access/acccell.cxx @@ -30,7 +30,7 @@ #include "precompiled_sw.hxx" -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <com/sun/star/accessibility/AccessibleRole.hpp> #include <com/sun/star/accessibility/AccessibleStateType.hpp> #include <com/sun/star/accessibility/AccessibleEventId.hpp> @@ -123,7 +123,7 @@ sal_Bool SwAccessibleCell::_InvalidateMyCursorPos() sal_Bool bNew = IsSelected(); sal_Bool bOld; { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); bOld = bIsSelected; bIsSelected = bNew; } @@ -212,7 +212,7 @@ void SwAccessibleCell::_InvalidateCursorPos() sal_Bool SwAccessibleCell::HasCursor() { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); return bIsSelected; } diff --git a/sw/source/core/access/acccontext.cxx b/sw/source/core/access/acccontext.cxx index 7f26742171..ea03b7c44c 100644 --- a/sw/source/core/access/acccontext.cxx +++ b/sw/source/core/access/acccontext.cxx @@ -46,7 +46,7 @@ #include <com/sun/star/accessibility/XAccessibleStateSet.hpp> #include <com/sun/star/accessibility/AccessibleStateType.hpp> #include <com/sun/star/accessibility/AccessibleEventId.hpp> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <unotools/accessiblestatesethelper.hxx> #include <unotools/accessiblerelationsethelper.hxx> @@ -106,7 +106,7 @@ void SwAccessibleContext::InitStates() void SwAccessibleContext::SetParent( SwAccessibleContext *pParent ) { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); uno::Reference < XAccessible > xParent( pParent ); xWeakParent = xParent; @@ -114,7 +114,7 @@ void SwAccessibleContext::SetParent( SwAccessibleContext *pParent ) uno::Reference< XAccessible > SwAccessibleContext::GetWeakParent() const { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); uno::Reference< XAccessible > xParent( xWeakParent ); return xParent; @@ -323,7 +323,7 @@ void SwAccessibleContext::Scrolled( const SwRect& rOldVisArea ) sal_Bool bIsOldShowingState; sal_Bool bIsNewShowingState = IsShowing( *(GetMap()) ); { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); bIsOldShowingState = bIsShowingState; bIsShowingState = bIsNewShowingState; } @@ -552,7 +552,7 @@ sal_Bool SwAccessibleContext::IsEditableState() { sal_Bool bRet; { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); bRet = bIsEditableState; } @@ -663,7 +663,7 @@ uno::Reference< XAccessible> SAL_CALL SwAccessibleContext::getAccessibleParent ( // Remember the parent as weak ref. { - vos::OGuard aWeakParentGuard( aMutex ); + osl::MutexGuard aWeakParentGuard( aMutex ); xWeakParent = xAcc; } @@ -1110,7 +1110,7 @@ void SwAccessibleContext::Dispose( sal_Bool bRecursive ) // set defunc state (its not required to broadcast a state changed // event if the object is diposed afterwards) { - vos::OGuard aDefuncStateGuard( aMutex ); + osl::MutexGuard aDefuncStateGuard( aMutex ); bIsDefuncState = sal_True; } @@ -1179,7 +1179,7 @@ void SwAccessibleContext::InvalidatePosOrSize( const SwRect& ) sal_Bool bIsOldShowingState; sal_Bool bIsNewShowingState = IsShowing( *(GetMap()) ); { - vos::OGuard aShowingStateGuard( aMutex ); + osl::MutexGuard aShowingStateGuard( aMutex ); bIsOldShowingState = bIsShowingState; bIsShowingState = bIsNewShowingState; } @@ -1336,7 +1336,7 @@ void SwAccessibleContext::InvalidateStates( tAccessibleStates _nStates ) sal_Bool bIsOldEditableState; sal_Bool bIsNewEditableState = IsEditable( pVSh ); { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); bIsOldEditableState = bIsEditableState; bIsEditableState = bIsNewEditableState; } @@ -1350,7 +1350,7 @@ void SwAccessibleContext::InvalidateStates( tAccessibleStates _nStates ) sal_Bool bIsOldOpaqueState; sal_Bool bIsNewOpaqueState = IsOpaque( pVSh ); { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); bIsOldOpaqueState = bIsOpaqueState; bIsOpaqueState = bIsNewOpaqueState; } diff --git a/sw/source/core/access/acccontext.hxx b/sw/source/core/access/acccontext.hxx index 0bbb811344..43612ebaed 100644 --- a/sw/source/core/access/acccontext.hxx +++ b/sw/source/core/access/acccontext.hxx @@ -71,7 +71,7 @@ class SwAccessibleContext : protected: mutable ::osl::Mutex aListenerMutex; - mutable ::vos::OMutex aMutex; + mutable ::osl::Mutex aMutex; private: diff --git a/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx index 2660a0c1e9..e93cf81348 100644 --- a/sw/source/core/access/accdoc.cxx +++ b/sw/source/core/access/accdoc.cxx @@ -39,7 +39,7 @@ #include <unotools/accessiblestatesethelper.hxx> #include <tools/link.hxx> #include <sfx2/viewsh.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <viewsh.hxx> #include <doc.hxx> diff --git a/sw/source/core/access/accfootnote.cxx b/sw/source/core/access/accfootnote.cxx index 6043c4d332..6cfea84869 100644 --- a/sw/source/core/access/accfootnote.cxx +++ b/sw/source/core/access/accfootnote.cxx @@ -30,7 +30,7 @@ #include "precompiled_sw.hxx" -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <com/sun/star/accessibility/AccessibleRole.hpp> #include <com/sun/star/accessibility/AccessibleStateType.hpp> #include <unotools/accessiblestatesethelper.hxx> diff --git a/sw/source/core/access/accframebase.cxx b/sw/source/core/access/accframebase.cxx index 894acec42c..647258c17c 100644 --- a/sw/source/core/access/accframebase.cxx +++ b/sw/source/core/access/accframebase.cxx @@ -33,7 +33,7 @@ #include <com/sun/star/accessibility/AccessibleStateType.hpp> #include <com/sun/star/accessibility/AccessibleEventId.hpp> #include <unotools/accessiblestatesethelper.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <vcl/window.hxx> #include <frmfmt.hxx> @@ -153,7 +153,7 @@ void SwAccessibleFrameBase::_InvalidateCursorPos() sal_Bool bOldSelected; { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); bOldSelected = bIsSelected; bIsSelected = bNewSelected; } @@ -196,7 +196,7 @@ void SwAccessibleFrameBase::_InvalidateFocus() sal_Bool bSelected; { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); bSelected = bIsSelected; } ASSERT( bSelected, "focus object should be selected" ); @@ -208,7 +208,7 @@ void SwAccessibleFrameBase::_InvalidateFocus() sal_Bool SwAccessibleFrameBase::HasCursor() { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); return bIsSelected; } diff --git a/sw/source/core/access/accheaderfooter.cxx b/sw/source/core/access/accheaderfooter.cxx index 8730fff191..c1e2697116 100644 --- a/sw/source/core/access/accheaderfooter.cxx +++ b/sw/source/core/access/accheaderfooter.cxx @@ -30,7 +30,7 @@ #include "precompiled_sw.hxx" -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <com/sun/star/accessibility/AccessibleRole.hpp> #include <com/sun/star/accessibility/AccessibleStateType.hpp> #include <unotools/accessiblestatesethelper.hxx> diff --git a/sw/source/core/access/acchyperlink.cxx b/sw/source/core/access/acchyperlink.cxx index 21a8f5dd09..4967f022bd 100644 --- a/sw/source/core/access/acchyperlink.cxx +++ b/sw/source/core/access/acchyperlink.cxx @@ -30,7 +30,7 @@ #include "precompiled_sw.hxx" #include <comphelper/accessiblekeybindinghelper.hxx> #include <swurl.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <ndtxt.hxx> #include <txtinet.hxx> diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx index aeeae16154..e8df92467e 100644 --- a/sw/source/core/access/accmap.cxx +++ b/sw/source/core/access/accmap.cxx @@ -856,7 +856,7 @@ void SwAccessibleMap::FireEvent( const SwAccessibleEvent_Impl& rEvent ) void SwAccessibleMap::AppendEvent( const SwAccessibleEvent_Impl& rEvent ) { - vos::OGuard aGuard( maEventMutex ); + osl::MutexGuard aGuard( maEventMutex ); if( !mpEvents ) mpEvents = new SwAccessibleEventList_Impl; @@ -1012,7 +1012,7 @@ void SwAccessibleMap::DoInvalidateShapeSelection() sal_uInt16 nSelShapes = pFESh ? pFESh->IsObjSelected() : 0; { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( mpShapeMap ) pShapes = mpShapeMap->Copy( nShapes, pFESh, &pSelShape ); } @@ -1063,7 +1063,7 @@ void SwAccessibleMap::DoInvalidateShapeSelection() { ::rtl::Reference< SwAccessibleContext > xParentAccImpl; { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( mpFrmMap ) { SwAccessibleContextMap_Impl::const_iterator aMapIter = @@ -1107,7 +1107,7 @@ void SwAccessibleMap::DoInvalidateShapeFocus() { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( mpShapeMap ) pShapes = mpShapeMap->Copy( nShapes, pFESh, &pSelShape ); } @@ -1157,7 +1157,7 @@ SwAccessibleMap::~SwAccessibleMap() { uno::Reference < XAccessible > xAcc; { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( mpFrmMap ) { const SwRootFrm *pRootFrm = GetShell()->GetLayout(); @@ -1174,7 +1174,7 @@ SwAccessibleMap::~SwAccessibleMap() pAcc->Dispose( sal_True ); { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); #ifdef DBG_UTIL ASSERT( !mpFrmMap || mpFrmMap->empty(), "Frame map should be empty after disposing the root frame" ); @@ -1225,7 +1225,7 @@ SwAccessibleMap::~SwAccessibleMap() mpPreview = NULL; { - vos::OGuard aGuard( maEventMutex ); + osl::MutexGuard aGuard( maEventMutex ); #ifdef DBG_UTIL ASSERT( !(mpEvents || mpEventMap), "pending events" ); if( mpEvents ) @@ -1260,7 +1260,7 @@ uno::Reference< XAccessible > SwAccessibleMap::_GetDocumentView( sal_Bool bSetVisArea = sal_False; { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( !mpFrmMap ) { @@ -1345,7 +1345,7 @@ uno::Reference< XAccessible> SwAccessibleMap::GetContext( const SwFrm *pFrm, sal_Bool bOldShapeSelected = sal_False; { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( !mpFrmMap && bCreate ) mpFrmMap = new SwAccessibleContextMap_Impl; @@ -1489,7 +1489,7 @@ uno::Reference< XAccessible> SwAccessibleMap::GetContext( uno::Reference < XAccessible > xOldCursorAcc; { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( !mpShapeMap && bCreate ) mpShapeMap = new SwAccessibleShapeMap_Impl( this ); @@ -1562,7 +1562,7 @@ uno::Reference< XAccessible> SwAccessibleMap::GetContext( void SwAccessibleMap::RemoveContext( const SwFrm *pFrm ) { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( mpFrmMap ) { @@ -1599,7 +1599,7 @@ void SwAccessibleMap::RemoveContext( const SwFrm *pFrm ) void SwAccessibleMap::RemoveContext( const SdrObject *pObj ) { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( mpShapeMap ) { @@ -1644,7 +1644,7 @@ void SwAccessibleMap::Dispose( const SwFrm *pFrm, ::rtl::Reference< ::accessibility::AccessibleShape > xShapeAccImpl; // get accessible context for frame { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); // First of all look for an accessible context for a frame if( aFrmOrObj.GetSwFrm() && mpFrmMap ) @@ -1708,7 +1708,7 @@ void SwAccessibleMap::Dispose( const SwFrm *pFrm, // remove events stored for the frame { - vos::OGuard aGuard( maEventMutex ); + osl::MutexGuard aGuard( maEventMutex ); if( mpEvents ) { SwAccessibleEventMap_Impl::iterator aIter = @@ -1761,7 +1761,7 @@ void SwAccessibleMap::InvalidatePosOrSize( const SwFrm *pFrm, ::rtl::Reference< SwAccessibleContext > xAccImpl; ::rtl::Reference< SwAccessibleContext > xParentAccImpl; { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( mpFrmMap ) { @@ -1842,7 +1842,7 @@ void SwAccessibleMap::InvalidateContent( const SwFrm *pFrm ) { uno::Reference < XAccessible > xAcc; { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( mpFrmMap ) { @@ -1880,7 +1880,7 @@ void SwAccessibleMap::InvalidateAttr( const SwTxtFrm& rTxtFrm ) { uno::Reference < XAccessible > xAcc; { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( mpFrmMap ) { @@ -1951,7 +1951,7 @@ void SwAccessibleMap::InvalidateCursorPosition( const SwFrm *pFrm ) sal_Bool bOldShapeSelected = sal_False; { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); xOldAcc = mxCursorContext; mxCursorContext = xAcc; // clear reference @@ -2008,7 +2008,7 @@ void SwAccessibleMap::InvalidateFocus() uno::Reference < XAccessible > xAcc; sal_Bool bShapeSelected; { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); xAcc = mxCursorContext; bShapeSelected = mbShapeSelected; @@ -2029,7 +2029,7 @@ void SwAccessibleMap::InvalidateFocus() void SwAccessibleMap::SetCursorContext( const ::rtl::Reference < SwAccessibleContext >& rCursorContext ) { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); uno::Reference < XAccessible > xAcc( rCursorContext.get() ); mxCursorContext = xAcc; } @@ -2072,7 +2072,7 @@ void SwAccessibleMap::_InvalidateRelationSet( const SwFrm* pFrm, { uno::Reference < XAccessible > xAcc; { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( mpFrmMap ) { @@ -2133,7 +2133,7 @@ void SwAccessibleMap::InvalidateParaTextSelection( const SwTxtFrm& _rTxtFrm ) { uno::Reference < XAccessible > xAcc; { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( mpFrmMap ) { @@ -2179,7 +2179,7 @@ sal_Int32 SwAccessibleMap::GetChildIndex( const SwFrm& rParentFrm, { uno::Reference < XAccessible > xAcc; { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( mpFrmMap ) { @@ -2225,7 +2225,7 @@ void SwAccessibleMap::UpdatePreview( const std::vector<PrevwPage*>& _rPrevwPages uno::Reference < XAccessible > xOldAcc; uno::Reference < XAccessible > xAcc; { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); xOldAcc = mxCursorContext; @@ -2255,7 +2255,7 @@ void SwAccessibleMap::InvalidatePreViewSelection( sal_uInt16 nSelPage ) uno::Reference < XAccessible > xOldAcc; uno::Reference < XAccessible > xAcc; { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); xOldAcc = mxCursorContext; @@ -2285,7 +2285,7 @@ sal_Bool SwAccessibleMap::IsPageSelected( const SwPageFrm *pPageFrm ) const void SwAccessibleMap::FireEvents() { { - vos::OGuard aGuard( maEventMutex ); + osl::MutexGuard aGuard( maEventMutex ); if( mpEvents ) { mpEvents->SetFiring(); @@ -2304,7 +2304,7 @@ void SwAccessibleMap::FireEvents() } } { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( mpShapes ) { delete mpShapes; @@ -2406,7 +2406,7 @@ sal_Bool SwAccessibleMap::ReplaceChild ( { const SdrObject *pObj = 0; { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( mpShapeMap ) { SwAccessibleShapeMap_Impl::const_iterator aIter = mpShapeMap->begin(); @@ -2436,7 +2436,7 @@ sal_Bool SwAccessibleMap::ReplaceChild ( Dispose( 0, pObj, 0 ); { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if( !mpShapeMap ) mpShapeMap = new SwAccessibleShapeMap_Impl( this ); @@ -2675,7 +2675,7 @@ SwAccessibleSelectedParas_Impl* SwAccessibleMap::_BuildSelectedParas() void SwAccessibleMap::InvalidateTextSelectionOfAllParas() { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); // keep previously known selected paragraphs SwAccessibleSelectedParas_Impl* pPrevSelectedParas( mpSelectedParas ); diff --git a/sw/source/core/access/accnotextframe.cxx b/sw/source/core/access/accnotextframe.cxx index a832fe135a..fb5bc5b613 100644 --- a/sw/source/core/access/accnotextframe.cxx +++ b/sw/source/core/access/accnotextframe.cxx @@ -30,7 +30,7 @@ #include "precompiled_sw.hxx" -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <com/sun/star/accessibility/AccessibleRole.hpp> #include <com/sun/star/accessibility/AccessibleStateType.hpp> diff --git a/sw/source/core/access/accpage.cxx b/sw/source/core/access/accpage.cxx index 06a08efd73..a1015ca938 100644 --- a/sw/source/core/access/accpage.cxx +++ b/sw/source/core/access/accpage.cxx @@ -85,7 +85,7 @@ void SwAccessiblePage::_InvalidateCursorPos() sal_Bool bOldSelected; { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); bOldSelected = bIsSelected; bIsSelected = bNewSelected; } @@ -114,7 +114,7 @@ void SwAccessiblePage::_InvalidateFocus() sal_Bool bSelected; { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); bSelected = bIsSelected; } ASSERT( bSelected, "focus object should be selected" ); @@ -147,7 +147,7 @@ SwAccessiblePage::~SwAccessiblePage() sal_Bool SwAccessiblePage::HasCursor() { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); return bIsSelected; } diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx index 16a9736621..f774805b12 100644 --- a/sw/source/core/access/accpara.cxx +++ b/sw/source/core/access/accpara.cxx @@ -39,7 +39,7 @@ #include <accmap.hxx> #include <fesh.hxx> #include <viewopt.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <vcl/window.hxx> #include <rtl/ustrbuf.hxx> @@ -405,7 +405,7 @@ void SwAccessibleParagraph::_InvalidateContent( sal_Bool bVisibleDataFired ) sal_Bool bNewIsHeading = IsHeading(); sal_Bool bOldIsHeading; { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); bOldIsHeading = bIsHeading; if( bIsHeading != bNewIsHeading ) bIsHeading = bNewIsHeading; @@ -417,7 +417,7 @@ void SwAccessibleParagraph::_InvalidateContent( sal_Bool bVisibleDataFired ) ::rtl::OUString sNewDesc( GetDescription() ); ::rtl::OUString sOldDesc; { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); sOldDesc = sDesc; if( sDesc != sNewDesc ) sDesc = sNewDesc; @@ -442,7 +442,7 @@ void SwAccessibleParagraph::_InvalidateCursorPos() sal_Int32 nNew = GetCaretPos(); sal_Int32 nOld; { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); nOld = nOldCaretPos; nOldCaretPos = nNew; } @@ -481,7 +481,7 @@ void SwAccessibleParagraph::_InvalidateFocus() { sal_Int32 nPos; { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); nPos = nOldCaretPos; } ASSERT( nPos != -1, "focus object should be selected" ); @@ -532,7 +532,7 @@ SwAccessibleParagraph::~SwAccessibleParagraph() sal_Bool SwAccessibleParagraph::HasCursor() { - vos::OGuard aGuard( aMutex ); + osl::MutexGuard aGuard( aMutex ); return nOldCaretPos != -1; } @@ -838,7 +838,7 @@ sal_Bool SwAccessibleParagraph::GetTextBoundary( CHECK_FOR_DEFUNC( XAccessibleContext ); - vos::OGuard aGuard2( aMutex ); + osl::MutexGuard aGuard2( aMutex ); if( !sDesc.getLength() ) sDesc = GetDescription(); @@ -1146,7 +1146,7 @@ sal_Int32 SwAccessibleParagraph::getCaretPosition() sal_Int32 nRet = GetCaretPos(); { - vos::OGuard aOldCaretPosGuard( aMutex ); + osl::MutexGuard aOldCaretPosGuard( aMutex ); ASSERT( nRet == nOldCaretPos, "caret pos out of sync" ); nOldCaretPos = nRet; } diff --git a/sw/source/core/access/acctable.cxx b/sw/source/core/access/acctable.cxx index 27112824b4..2a4bf501cd 100644 --- a/sw/source/core/access/acctable.cxx +++ b/sw/source/core/access/acctable.cxx @@ -28,7 +28,7 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_sw.hxx" -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <rtl/uuid.h> #include <rtl/ustrbuf.hxx> diff --git a/sw/source/core/access/acctextframe.cxx b/sw/source/core/access/acctextframe.cxx index ef6b0c34b7..8d520323ed 100644 --- a/sw/source/core/access/acctextframe.cxx +++ b/sw/source/core/access/acctextframe.cxx @@ -31,7 +31,7 @@ #include <com/sun/star/accessibility/XAccessibleContext.hpp> #include <rtl/uuid.h> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <com/sun/star/accessibility/AccessibleRole.hpp> #include <com/sun/star/accessibility/AccessibleStateType.hpp> diff --git a/sw/source/core/bastyp/SwSmartTagMgr.cxx b/sw/source/core/bastyp/SwSmartTagMgr.cxx index dbed1c7382..f4d4c776d7 100644 --- a/sw/source/core/bastyp/SwSmartTagMgr.cxx +++ b/sw/source/core/bastyp/SwSmartTagMgr.cxx @@ -30,7 +30,7 @@ #include "precompiled_sw.hxx" #include "SwSmartTagMgr.hxx" -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <swmodule.hxx> diff --git a/sw/source/core/doc/docchart.cxx b/sw/source/core/doc/docchart.cxx index 5a2d7efcd7..7628704ecb 100644 --- a/sw/source/core/doc/docchart.cxx +++ b/sw/source/core/doc/docchart.cxx @@ -53,7 +53,7 @@ #include <swtblfmt.hxx> #include <tblsel.hxx> #include <cellatr.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <unochart.hxx> diff --git a/sw/source/core/unocore/SwXTextDefaults.cxx b/sw/source/core/unocore/SwXTextDefaults.cxx index 7930463440..5e45817228 100644 --- a/sw/source/core/unocore/SwXTextDefaults.cxx +++ b/sw/source/core/unocore/SwXTextDefaults.cxx @@ -31,7 +31,7 @@ #include <com/sun/star/beans/PropertyAttribute.hpp> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <SwXTextDefaults.hxx> diff --git a/sw/source/core/unocore/unobkm.cxx b/sw/source/core/unocore/unobkm.cxx index 39a17d1051..27b39c1a8d 100644 --- a/sw/source/core/unocore/unobkm.cxx +++ b/sw/source/core/unocore/unobkm.cxx @@ -30,7 +30,7 @@ #include "precompiled_sw.hxx" #include <unobookmark.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <TextCursorHelper.hxx> diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx index c82d50020e..ef57f019a7 100644 --- a/sw/source/core/unocore/unochart.cxx +++ b/sw/source/core/unocore/unochart.cxx @@ -35,7 +35,7 @@ #include <com/sun/star/chart/ChartDataRowSource.hpp> #include <com/sun/star/chart2/data/LabelOrigin.hpp> #include <cppuhelper/interfacecontainer.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <svl/zforlist.hxx> // SvNumberFormatter diff --git a/sw/source/core/unocore/unocoll.cxx b/sw/source/core/unocore/unocoll.cxx index 381c834a15..67073a9abf 100644 --- a/sw/source/core/unocore/unocoll.cxx +++ b/sw/source/core/unocore/unocoll.cxx @@ -48,7 +48,7 @@ #include <txtftn.hxx> #include <fmtpdsc.hxx> #include <pagedesc.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <com/sun/star/text/XTextTableCursor.hpp> #include <com/sun/star/text/XTextTablesSupplier.hpp> #include <com/sun/star/text/TableColumnSeparator.hpp> diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index 3bf8c572d3..1ba1140e29 100644 --- a/sw/source/core/unocore/unodraw.cxx +++ b/sw/source/core/unocore/unodraw.cxx @@ -68,7 +68,7 @@ #include <editeng/ulspitem.hxx> #include <svx/shapepropertynotifier.hxx> #include <crstate.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <comphelper/extract.hxx> #include <comphelper/stl_types.hxx> #include <comphelper/makesequence.hxx> diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx index ec7c0bc901..9cdbda4f7a 100644 --- a/sw/source/core/unocore/unofield.cxx +++ b/sw/source/core/unocore/unofield.cxx @@ -88,7 +88,7 @@ #include <svx/dataaccessdescriptor.hxx> #define _SVSTDARR_STRINGS #include <svl/svstdarr.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <textapi.hxx> #include <editeng/outliner.hxx> diff --git a/sw/source/core/unocore/unoflatpara.cxx b/sw/source/core/unocore/unoflatpara.cxx index 35f678ef6f..2090dc7473 100644 --- a/sw/source/core/unocore/unoflatpara.cxx +++ b/sw/source/core/unocore/unoflatpara.cxx @@ -34,7 +34,7 @@ #include <unobaseclass.hxx> #include <unoflatpara.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <com/sun/star/text/TextMarkupType.hpp> #include <unotextmarkup.hxx> diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index f7da9ef1b8..a2abf2de35 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -103,7 +103,7 @@ #include <frmatr.hxx> #include <ndtxt.hxx> #include <ndgrf.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <sfx2/printer.hxx> #include <SwStyleNameMapper.hxx> diff --git a/sw/source/core/unocore/unoftn.cxx b/sw/source/core/unocore/unoftn.cxx index c1e7fa3cf9..3d24614466 100644 --- a/sw/source/core/unocore/unoftn.cxx +++ b/sw/source/core/unocore/unoftn.cxx @@ -31,7 +31,7 @@ #include <rtl/uuid.h> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <comphelper/sequence.hxx> diff --git a/sw/source/core/unocore/unoidx.cxx b/sw/source/core/unocore/unoidx.cxx index 8e213f0aad..3ecc8bf560 100644 --- a/sw/source/core/unocore/unoidx.cxx +++ b/sw/source/core/unocore/unoidx.cxx @@ -38,7 +38,7 @@ #include <com/sun/star/text/XTextDocument.hpp> #include <tools/debug.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <editeng/unolingu.hxx> #include <com/sun/star/text/ChapterFormat.hpp> diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx index 63d8321b5e..16d4a81c6e 100644 --- a/sw/source/core/unocore/unoobj.cxx +++ b/sw/source/core/unocore/unoobj.cxx @@ -106,7 +106,7 @@ #include <unoidx.hxx> #include <unoframe.hxx> #include <fmthdft.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <fmtflcnt.hxx> #define _SVSTDARR_USHORTS diff --git a/sw/source/core/unocore/unoobj2.cxx b/sw/source/core/unocore/unoobj2.cxx index b534aad8f4..23019ef731 100644 --- a/sw/source/core/unocore/unoobj2.cxx +++ b/sw/source/core/unocore/unoobj2.cxx @@ -105,7 +105,7 @@ #include <unoidx.hxx> #include <unoframe.hxx> #include <fmthdft.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <fmtflcnt.hxx> #define _SVSTDARR_USHORTS diff --git a/sw/source/core/unocore/unoparagraph.cxx b/sw/source/core/unocore/unoparagraph.cxx index 84ca2d265e..1f8083108b 100644 --- a/sw/source/core/unocore/unoparagraph.cxx +++ b/sw/source/core/unocore/unoparagraph.cxx @@ -42,7 +42,7 @@ #include <unocrsrhelper.hxx> #include <doc.hxx> #include <ndtxt.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <docsh.hxx> diff --git a/sw/source/core/unocore/unoport.cxx b/sw/source/core/unocore/unoport.cxx index 5d2f7ed16e..4dd5779f78 100644 --- a/sw/source/core/unocore/unoport.cxx +++ b/sw/source/core/unocore/unoport.cxx @@ -31,7 +31,7 @@ #include <cmdid.h> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <svl/itemprop.hxx> diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx index fa5e7696ac..db17de99a1 100644 --- a/sw/source/core/unocore/unoportenum.cxx +++ b/sw/source/core/unocore/unoportenum.cxx @@ -58,7 +58,7 @@ #include <unoidx.hxx> #include <redline.hxx> #include <crsskip.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <set> diff --git a/sw/source/core/unocore/unoredline.cxx b/sw/source/core/unocore/unoredline.cxx index bad37bf588..ffe3050cf0 100644 --- a/sw/source/core/unocore/unoredline.cxx +++ b/sw/source/core/unocore/unoredline.cxx @@ -33,7 +33,7 @@ #include <com/sun/star/text/XTextTable.hpp> #include <rtl/ustrbuf.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <pagedesc.hxx> diff --git a/sw/source/core/unocore/unoredlines.cxx b/sw/source/core/unocore/unoredlines.cxx index 8bcd58f5c3..a27f22f248 100644 --- a/sw/source/core/unocore/unoredlines.cxx +++ b/sw/source/core/unocore/unoredlines.cxx @@ -32,7 +32,7 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <tools/debug.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <unoredlines.hxx> diff --git a/sw/source/core/unocore/unorefmk.cxx b/sw/source/core/unocore/unorefmk.cxx index 4a2b1bb4d7..8c2566447a 100644 --- a/sw/source/core/unocore/unorefmk.cxx +++ b/sw/source/core/unocore/unorefmk.cxx @@ -29,7 +29,7 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_sw.hxx" -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <unomid.h> diff --git a/sw/source/core/unocore/unosect.cxx b/sw/source/core/unocore/unosect.cxx index 2f5c74ad54..2cf2cfb878 100644 --- a/sw/source/core/unocore/unosect.cxx +++ b/sw/source/core/unocore/unosect.cxx @@ -39,7 +39,7 @@ #include <editeng/xmlcnitm.hxx> #include <sfx2/linkmgr.hxx> #include <sfx2/lnkbase.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <fmtclds.hxx> #include <unotextrange.hxx> diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx index b05502109e..799132c200 100644 --- a/sw/source/core/unocore/unosett.cxx +++ b/sw/source/core/unocore/unosett.cxx @@ -66,7 +66,7 @@ #include <editeng/flstitem.hxx> #include <vcl/metric.hxx> #include <svtools/ctrltool.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <toolkit/helper/vclunohelper.hxx> #include <editeng/unofdesc.hxx> diff --git a/sw/source/core/unocore/unosrch.cxx b/sw/source/core/unocore/unosrch.cxx index 5c6d3bd577..c162b54946 100644 --- a/sw/source/core/unocore/unosrch.cxx +++ b/sw/source/core/unocore/unosrch.cxx @@ -36,7 +36,7 @@ #include <unobaseclass.hxx> #include <unomid.h> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include "editeng/unolingu.hxx" #include <com/sun/star/util/SearchOptions.hpp> diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index b53bfe33dc..8f58968c8d 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -31,7 +31,7 @@ #include <svx/svxids.hrc> #include <hintids.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <svl/smplhint.hxx> #include <svtools/ctrltool.hxx> diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index b29e41b538..4792cf1a8a 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -94,7 +94,7 @@ #include <editeng/keepitem.hxx> #include <fmtlsplt.hxx> #include <swundo.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <SwStyleNameMapper.hxx> #include <frmatr.hxx> #include <crsskip.hxx> diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx index c0890d2a03..4e82ffedf0 100644 --- a/sw/source/core/unocore/unotext.cxx +++ b/sw/source/core/unocore/unotext.cxx @@ -36,7 +36,7 @@ #include <rtl/uuid.h> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <comphelper/sequence.hxx> diff --git a/sw/source/core/unocore/unotextmarkup.cxx b/sw/source/core/unocore/unotextmarkup.cxx index a61a76010a..4776dd12cc 100644 --- a/sw/source/core/unocore/unotextmarkup.cxx +++ b/sw/source/core/unocore/unotextmarkup.cxx @@ -30,7 +30,7 @@ #include "precompiled_sw.hxx" #include <unotextmarkup.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <SwSmartTagMgr.hxx> #include <com/sun/star/text/TextMarkupType.hpp> diff --git a/sw/source/filter/xml/XMLRedlineImportHelper.cxx b/sw/source/filter/xml/XMLRedlineImportHelper.cxx index 3657067cc6..c9ea0bdcbc 100644 --- a/sw/source/filter/xml/XMLRedlineImportHelper.cxx +++ b/sw/source/filter/xml/XMLRedlineImportHelper.cxx @@ -43,7 +43,7 @@ // for locking SolarMutex: svapp + mutex #include <vcl/svapp.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx index 54e551cf10..ba0bde7307 100644 --- a/sw/source/filter/xml/xmlexp.cxx +++ b/sw/source/filter/xml/xmlexp.cxx @@ -66,7 +66,7 @@ // for locking SolarMutex: svapp + mutex #include <vcl/svapp.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> // --> OD 2007-03-30 #i73788# #include <pausethreadstarting.hxx> diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx index ce938ddc58..ae53a81fb0 100644 --- a/sw/source/filter/xml/xmlimp.cxx +++ b/sw/source/filter/xml/xmlimp.cxx @@ -69,7 +69,7 @@ // for locking SolarMutex: svapp + mutex #include <vcl/svapp.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <unotxdoc.hxx> // for initXForms() #include <xmloff/xmlmetai.hxx> diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index 7767de63f0..fa24bb30a5 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -66,7 +66,7 @@ // for locking SolarMutex: svapp + mutex #include <vcl/svapp.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include "ndtxt.hxx" using ::rtl::OUString; diff --git a/sw/source/filter/xml/xmltexti.cxx b/sw/source/filter/xml/xmltexti.cxx index 5c2eeced0f..654a26c2c3 100644 --- a/sw/source/filter/xml/xmltexti.cxx +++ b/sw/source/filter/xml/xmltexti.cxx @@ -67,7 +67,7 @@ // for locking SolarMutex: svapp + mutex #include <vcl/svapp.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <toolkit/helper/vclunohelper.hxx> #include <svtools/embedhlp.hxx> diff --git a/sw/source/ui/dbui/dbmgr.cxx b/sw/source/ui/dbui/dbmgr.cxx index 106c3bedf0..465e139304 100644 --- a/sw/source/ui/dbui/dbmgr.cxx +++ b/sw/source/ui/dbui/dbmgr.cxx @@ -124,7 +124,7 @@ #include <sfx2/event.hxx> #include <vcl/msgbox.hxx> #include <svx/dataaccessdescriptor.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <rtl/textenc.h> #include <ndindex.hxx> #include <pam.hxx> @@ -2944,7 +2944,7 @@ SwConnectionDisposedListener_Impl::~SwConnectionDisposedListener_Impl() void SwConnectionDisposedListener_Impl::disposing( const EventObject& rSource ) throw (RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; uno::Reference<XConnection> xSource(rSource.Source, UNO_QUERY); for(USHORT nPos = rDBMgr.aDataSourceParams.Count(); nPos; nPos--) { diff --git a/sw/source/ui/dbui/dbtree.cxx b/sw/source/ui/dbui/dbtree.cxx index 61dd3d5999..a717f8454c 100644 --- a/sw/source/ui/dbui/dbtree.cxx +++ b/sw/source/ui/dbui/dbtree.cxx @@ -51,7 +51,7 @@ #include <view.hxx> #include <wrtsh.hxx> #include <dbtree.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <helpid.h> diff --git a/sw/source/ui/dbui/mmoutputpage.cxx b/sw/source/ui/dbui/mmoutputpage.cxx index 77b1a92f3c..2559912b9a 100644 --- a/sw/source/ui/dbui/mmoutputpage.cxx +++ b/sw/source/ui/dbui/mmoutputpage.cxx @@ -67,7 +67,7 @@ #include <com/sun/star/sdb/XColumn.hpp> #include <dbmgr.hxx> #include <swunohelper.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <shellio.hxx> #include <svtools/htmlcfg.hxx> #include <sfx2/event.hxx> diff --git a/sw/source/ui/dochdl/swdtflvr.cxx b/sw/source/ui/dochdl/swdtflvr.cxx index 63fc77f5ad..f9812969c7 100644 --- a/sw/source/ui/dochdl/swdtflvr.cxx +++ b/sw/source/ui/dochdl/swdtflvr.cxx @@ -135,7 +135,7 @@ #include <SwRewriter.hxx> #include <undobj.hxx> #include <globals.hrc> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <swserv.hxx> diff --git a/sw/source/ui/docvw/SidebarTxtControlAcc.cxx b/sw/source/ui/docvw/SidebarTxtControlAcc.cxx index c1f22d3d6f..845de5f373 100644 --- a/sw/source/ui/docvw/SidebarTxtControlAcc.cxx +++ b/sw/source/ui/docvw/SidebarTxtControlAcc.cxx @@ -181,7 +181,7 @@ class SidebarTxtControlAccessibleContext : public VCLXAccessibleComponent SidebarTxtControl& mrSidebarTxtControl; ::accessibility::AccessibleTextHelper* mpAccessibleTextHelper; - ::vos::OMutex maMutex; + ::osl::Mutex maMutex; void defunc(); }; @@ -212,7 +212,7 @@ void SidebarTxtControlAccessibleContext::defunc() sal_Int32 SAL_CALL SidebarTxtControlAccessibleContext::getAccessibleChildCount() throw (::com::sun::star::uno::RuntimeException) { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); sal_Int32 nChildCount( 0 ); @@ -227,7 +227,7 @@ sal_Int32 SAL_CALL SidebarTxtControlAccessibleContext::getAccessibleChildCount() css::uno::Reference< css::accessibility::XAccessible > SAL_CALL SidebarTxtControlAccessibleContext::getAccessibleChild( sal_Int32 i ) throw ( css::lang::IndexOutOfBoundsException, css::uno::RuntimeException ) { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); css::uno::Reference< css::accessibility::XAccessible > xChild; @@ -243,7 +243,7 @@ void SAL_CALL SidebarTxtControlAccessibleContext::addEventListener ( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener) throw (css::uno::RuntimeException) { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if ( mpAccessibleTextHelper ) { @@ -255,7 +255,7 @@ void SAL_CALL SidebarTxtControlAccessibleContext::removeEventListener ( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener) throw (css::uno::RuntimeException) { - vos::OGuard aGuard( maMutex ); + osl::MutexGuard aGuard( maMutex ); if ( mpAccessibleTextHelper ) { diff --git a/sw/source/ui/docvw/SidebarWinAcc.cxx b/sw/source/ui/docvw/SidebarWinAcc.cxx index ff3f7ae1d9..e55ce359dc 100644 --- a/sw/source/ui/docvw/SidebarWinAcc.cxx +++ b/sw/source/ui/docvw/SidebarWinAcc.cxx @@ -67,7 +67,7 @@ class SidebarWinAccessibleContext : public VCLXAccessibleComponent void ChangeAnchor( const SwFrm* pAnchorFrm ) { - vos::OGuard aGuard(maMutex); + osl::MutexGuard aGuard(maMutex); mpAnchorFrm = pAnchorFrm; } @@ -75,7 +75,7 @@ class SidebarWinAccessibleContext : public VCLXAccessibleComponent virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent() throw (css::uno::RuntimeException) { - vos::OGuard aGuard(maMutex); + osl::MutexGuard aGuard(maMutex); css::uno::Reference< css::accessibility::XAccessible > xAccParent; @@ -90,7 +90,7 @@ class SidebarWinAccessibleContext : public VCLXAccessibleComponent virtual sal_Int32 SAL_CALL getAccessibleIndexInParent() throw (css::uno::RuntimeException) { - vos::OGuard aGuard(maMutex); + osl::MutexGuard aGuard(maMutex); sal_Int32 nIndex( -1 ); @@ -108,7 +108,7 @@ class SidebarWinAccessibleContext : public VCLXAccessibleComponent ViewShell& mrViewShell; const SwFrm* mpAnchorFrm; - ::vos::OMutex maMutex; + ::osl::Mutex maMutex; }; // ============================================================================= diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx index 01785d7224..197c4d5474 100644 --- a/sw/source/ui/docvw/edtwin.cxx +++ b/sw/source/ui/docvw/edtwin.cxx @@ -131,7 +131,7 @@ #include <pagedesc.hxx> #include <svtools/ruler.hxx> // #i23726# #include "formatclipboard.hxx" -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <IMark.hxx> diff --git a/sw/source/ui/inc/unodispatch.hxx b/sw/source/ui/inc/unodispatch.hxx index 1623788c02..ff9b6f662e 100644 --- a/sw/source/ui/inc/unodispatch.hxx +++ b/sw/source/ui/inc/unodispatch.hxx @@ -36,7 +36,7 @@ #include <cppuhelper/implbase2.hxx> #include <cppuhelper/implbase3.hxx> #include <list> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> class SwView; @@ -50,7 +50,7 @@ class SwXDispatchProviderInterceptor : public cppu::WeakImplHelper3 class DispatchMutexLock_Impl { //::osl::MutexGuard aGuard; #102295# solar mutex has to be used currently - vos::OGuard aGuard; + osl::SolarMutexGuard aGuard; DispatchMutexLock_Impl(); public: DispatchMutexLock_Impl(SwXDispatchProviderInterceptor&); diff --git a/sw/source/ui/uiview/pview.cxx b/sw/source/ui/uiview/pview.cxx index 5572f6fedb..45da8eadad 100644 --- a/sw/source/ui/uiview/pview.cxx +++ b/sw/source/ui/uiview/pview.cxx @@ -92,7 +92,7 @@ #include <svx/svxdlg.hxx> #include <svx/dialogs.hrc> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> using namespace ::com::sun::star; diff --git a/sw/source/ui/uiview/uivwimp.cxx b/sw/source/ui/uiview/uivwimp.cxx index b2dec0f41a..3350d8db1a 100644 --- a/sw/source/ui/uiview/uivwimp.cxx +++ b/sw/source/ui/uiview/uivwimp.cxx @@ -39,7 +39,7 @@ #include <com/sun/star/datatransfer/clipboard/XClipboard.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <comphelper/processfactory.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <vcl/wrkwin.hxx> #include <vcl/msgbox.hxx> diff --git a/sw/source/ui/uno/SwXDocumentSettings.cxx b/sw/source/ui/uno/SwXDocumentSettings.cxx index 60b883b7a4..4b1740ec91 100644 --- a/sw/source/ui/uno/SwXDocumentSettings.cxx +++ b/sw/source/ui/uno/SwXDocumentSettings.cxx @@ -29,7 +29,7 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_sw.hxx" -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <sfx2/sfxbasecontroller.hxx> #include <SwXDocumentSettings.hxx> #include <SwXPrintPreviewSettings.hxx> diff --git a/sw/source/ui/uno/SwXFilterOptions.cxx b/sw/source/ui/uno/SwXFilterOptions.cxx index cd9e3db7ba..03e5e753d6 100644 --- a/sw/source/ui/uno/SwXFilterOptions.cxx +++ b/sw/source/ui/uno/SwXFilterOptions.cxx @@ -32,7 +32,7 @@ #include <shellio.hxx> #include <swdll.hxx> #include <unoprnms.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <vcl/msgbox.hxx> #include <com/sun/star/lang/XUnoTunnel.hpp> diff --git a/sw/source/ui/uno/dlelstnr.cxx b/sw/source/ui/uno/dlelstnr.cxx index 7ac1932f0d..254d2e61b3 100644 --- a/sw/source/ui/uno/dlelstnr.cxx +++ b/sw/source/ui/uno/dlelstnr.cxx @@ -40,7 +40,7 @@ #include <com/sun/star/uno/Reference.h> #include <comphelper/processfactory.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <tools/shl.hxx> #include "dlelstnr.hxx" diff --git a/sw/source/ui/uno/swdetect.cxx b/sw/source/ui/uno/swdetect.cxx index a69250f584..e32c96e6e4 100644 --- a/sw/source/ui/uno/swdetect.cxx +++ b/sw/source/ui/uno/swdetect.cxx @@ -52,7 +52,7 @@ #include <svl/eitem.hxx> #include <svl/stritem.hxx> #include <tools/urlobj.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <svtools/sfxecode.hxx> #include <svtools/ehdl.hxx> #include <sot/storinfo.hxx> diff --git a/sw/source/ui/uno/unoatxt.cxx b/sw/source/ui/uno/unoatxt.cxx index 81faf76e50..c05d258f63 100644 --- a/sw/source/ui/uno/unoatxt.cxx +++ b/sw/source/ui/uno/unoatxt.cxx @@ -33,7 +33,7 @@ #define _SVSTDARR_STRINGS #include <com/sun/star/beans/PropertyAttribute.hpp> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <osl/diagnose.h> #include <vcl/svapp.hxx> #include <svl/svstdarr.hxx> diff --git a/sw/source/ui/uno/unodispatch.cxx b/sw/source/ui/uno/unodispatch.cxx index df70e3b915..7f4037680e 100644 --- a/sw/source/ui/uno/unodispatch.cxx +++ b/sw/source/ui/uno/unodispatch.cxx @@ -44,7 +44,6 @@ using namespace ::com::sun::star; using namespace rtl; -using namespace vos; const char* cURLStart = ".uno:DataSourceBrowser/"; const char* cURLFormLetter = ".uno:DataSourceBrowser/FormLetter"; diff --git a/sw/source/ui/uno/unodoc.cxx b/sw/source/ui/uno/unodoc.cxx index 387e0ef3d2..400c2c5be2 100644 --- a/sw/source/ui/uno/unodoc.cxx +++ b/sw/source/ui/uno/unodoc.cxx @@ -37,7 +37,7 @@ #include "docsh.hxx" #include "globdoc.hxx" #include "wdocsh.hxx" -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> using namespace ::com::sun::star; diff --git a/sw/source/ui/uno/unomailmerge.cxx b/sw/source/ui/uno/unomailmerge.cxx index 853281609c..7a11f86a6e 100644 --- a/sw/source/ui/uno/unomailmerge.cxx +++ b/sw/source/ui/uno/unomailmerge.cxx @@ -31,7 +31,7 @@ #include <vcl/svapp.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <osl/mutex.hxx> #include <svl/itemprop.hxx> #include <svl/urihelper.hxx> diff --git a/sw/source/ui/uno/unomod.cxx b/sw/source/ui/uno/unomod.cxx index ca3e6aa52d..c99beb5cf5 100644 --- a/sw/source/ui/uno/unomod.cxx +++ b/sw/source/ui/uno/unomod.cxx @@ -43,7 +43,7 @@ #include <docsh.hxx> #include <wrtsh.hxx> #include <viewopt.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <com/sun/star/text/NotePrintMode.hpp> #include <doc.hxx> diff --git a/sw/source/ui/uno/unomodule.cxx b/sw/source/ui/uno/unomodule.cxx index 49db5131d7..12f4736eb1 100644 --- a/sw/source/ui/uno/unomodule.cxx +++ b/sw/source/ui/uno/unomodule.cxx @@ -38,7 +38,7 @@ #include <sfx2/objface.hxx> #include <sfx2/bindings.hxx> #include <sfx2/request.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/svapp.hxx> using namespace ::com::sun::star; diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx index 0b2234486f..095dd54f79 100644 --- a/sw/source/ui/uno/unotxdoc.cxx +++ b/sw/source/ui/uno/unotxdoc.cxx @@ -29,7 +29,7 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_sw.hxx" -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <vcl/image.hxx> #include <vcl/virdev.hxx> #include <vcl/svapp.hxx> diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx index 5b0f6e89e2..a4c276c838 100644 --- a/sw/source/ui/uno/unotxvw.cxx +++ b/sw/source/ui/uno/unotxvw.cxx @@ -61,7 +61,7 @@ #include <sfx2/bindings.hxx> #include <sfx2/request.hxx> #include <frmatr.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <IMark.hxx> #include <unotxdoc.hxx> #include <unodraw.hxx> |