From 1979ac8a7c2ae9be2fa1b75450f2428b3bf0ef75 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sat, 16 Oct 2010 03:18:35 -0500 Subject: merge vosremoval-mutex.diff In practice the changeset is 'inspired' by vosremoval-mutex.diff but was essentially redone manually --- avmedia/source/framework/soundhandler.cxx | 4 +- avmedia/source/framework/soundhandler.hxx | 4 +- avmedia/source/viewer/mediaevent_impl.cxx | 2 +- basic/inc/pch/precompiled_basic.hxx | 2 +- basic/source/classes/sb.cxx | 2 +- basic/source/classes/sbunoobj.cxx | 2 +- basic/source/classes/sbxmod.cxx | 2 +- basic/source/runtime/iosys.cxx | 19 ++--- basic/source/uno/namecont.cxx | 2 +- connectivity/inc/pch/precompiled_connectivity.hxx | 2 +- connectivity/source/drivers/jdbc/Object.cxx | 2 +- desktop/source/deployment/gui/dp_gui_dialog2.cxx | 2 +- desktop/source/deployment/gui/dp_gui_theextmgr.cxx | 2 +- .../source/deployment/gui/dp_gui_updatedialog.cxx | 2 +- .../deployment/gui/dp_gui_updateinstalldialog.cxx | 4 +- editeng/inc/pch/precompiled_editeng.hxx | 2 +- .../source/accessibility/AccessibleContextBase.cxx | 2 +- .../accessibility/AccessibleEditableTextPara.cxx | 2 +- .../source/accessibility/AccessibleImageBullet.cxx | 2 +- .../accessibility/AccessibleStaticTextBase.cxx | 2 +- editeng/source/editeng/eeobj.cxx | 2 +- editeng/source/editeng/impedit.cxx | 2 +- editeng/source/uno/UnoForbiddenCharsTable.cxx | 2 +- editeng/source/uno/unoedprx.cxx | 2 +- editeng/source/uno/unofield.cxx | 3 +- editeng/source/uno/unonrule.cxx | 3 +- editeng/source/uno/unopracc.cxx | 2 +- editeng/source/uno/unotext.cxx | 3 +- editeng/source/uno/unotext2.cxx | 3 +- embeddedobj/source/msole/graphconvert.cxx | 2 +- fpicker/source/aqua/ControlHelper.cxx | 2 +- fpicker/source/aqua/FilterHelper.cxx | 2 +- fpicker/source/aqua/SalAquaFilePicker.cxx | 2 +- fpicker/source/aqua/SalAquaFolderPicker.cxx | 2 +- fpicker/source/aqua/SalAquaPicker.cxx | 2 +- fpicker/source/aqua/resourceprovider.cxx | 2 +- fpicker/source/office/OfficeFilePicker.cxx | 2 +- fpicker/source/office/commonpicker.cxx | 2 +- fpicker/source/unx/gnome/SalGtkFilePicker.cxx | 2 +- fpicker/source/unx/gnome/SalGtkFolderPicker.cxx | 2 +- fpicker/source/unx/gnome/SalGtkPicker.cxx | 2 +- fpicker/source/unx/gnome/resourceprovider.cxx | 2 +- fpicker/source/unx/kde4/KDE4FilePicker.cxx | 2 +- fpicker/source/win32/filepicker/SolarMutex.cxx | 10 +-- fpicker/source/win32/filepicker/asyncrequests.cxx | 2 +- fpicker/source/win32/misc/resourceprovider.cxx | 2 +- framework/inc/pch/precompiled_framework.hxx | 2 +- framework/inc/threadhelp/lockhelper.hxx | 8 +- framework/inc/threadhelp/threadhelpbase.hxx | 2 +- framework/source/classes/fwkresid.cxx | 2 +- framework/source/classes/fwlresid.cxx | 2 +- framework/source/classes/menumanager.cxx | 3 +- framework/source/dispatch/closedispatcher.cxx | 2 +- framework/source/dispatch/menudispatcher.cxx | 7 +- framework/source/dispatch/popupmenudispatcher.cxx | 3 +- .../source/dispatch/startmoduledispatcher.cxx | 2 +- .../source/dispatch/windowcommanddispatch.cxx | 2 +- framework/source/helper/actiontriggerhelper.cxx | 3 +- framework/source/helper/propertysetcontainer.cxx | 1 - framework/source/helper/statusindicatorfactory.cxx | 2 +- framework/source/inc/pattern/window.hxx | 2 +- framework/source/threadhelp/lockhelper.cxx | 29 +++---- .../source/uielement/buttontoolbarcontroller.cxx | 2 +- .../source/uielement/comboboxtoolbarcontroller.cxx | 2 +- .../source/uielement/complextoolbarcontroller.cxx | 2 +- .../source/uielement/controlmenucontroller.cxx | 2 +- .../uielement/dropdownboxtoolbarcontroller.cxx | 2 +- .../source/uielement/edittoolbarcontroller.cxx | 2 +- framework/source/uielement/fontmenucontroller.cxx | 2 +- .../source/uielement/fontsizemenucontroller.cxx | 2 +- .../source/uielement/generictoolbarcontroller.cxx | 2 +- .../source/uielement/headermenucontroller.cxx | 2 +- .../uielement/imagebuttontoolbarcontroller.cxx | 2 +- .../uielement/langselectionmenucontroller.cxx | 2 +- .../uielement/langselectionstatusbarcontroller.cxx | 2 +- .../uielement/logoimagestatusbarcontroller.cxx | 2 +- .../uielement/logotextstatusbarcontroller.cxx | 2 +- .../source/uielement/macrosmenucontroller.cxx | 2 +- framework/source/uielement/menubarmanager.cxx | 3 +- framework/source/uielement/newmenucontroller.cxx | 2 +- .../source/uielement/objectmenucontroller.cxx | 2 +- framework/source/uielement/popupmenucontroller.cxx | 2 +- .../source/uielement/recentfilesmenucontroller.cxx | 2 +- .../uielement/simpletextstatusbarcontroller.cxx | 2 +- .../uielement/spinfieldtoolbarcontroller.cxx | 2 +- .../uielement/statusindicatorinterfacewrapper.cxx | 2 +- .../uielement/togglebuttontoolbarcontroller.cxx | 2 +- linguistic/source/thesdsp.hxx | 2 +- scripting/source/basprov/baslibnode.cxx | 2 +- scripting/source/basprov/basmethnode.cxx | 2 +- scripting/source/basprov/basmodnode.cxx | 2 +- scripting/source/basprov/basprov.cxx | 2 +- scripting/source/basprov/basscript.cxx | 2 +- sfx2/inc/pch/precompiled_sfx2.hxx | 2 +- sfx2/inc/sfx2/docstoragemodifylistener.hxx | 8 +- sfx2/inc/sfx2/sfxbasemodel.hxx | 2 +- sfx2/source/appl/appdata.cxx | 2 +- sfx2/source/appl/appmisc.cxx | 5 +- sfx2/source/appl/appopen.cxx | 2 +- sfx2/source/appl/fwkhelper.cxx | 2 +- sfx2/source/appl/imestatuswindow.cxx | 2 +- sfx2/source/appl/shutdownicon.cxx | 3 +- sfx2/source/appl/shutdowniconaqua.mm | 2 +- sfx2/source/appl/shutdowniconunx.cxx | 2 +- sfx2/source/bastyp/fltfnc.cxx | 1 - sfx2/source/bastyp/fltlst.cxx | 2 +- sfx2/source/control/querystatus.cxx | 2 +- sfx2/source/control/sfxstatuslistener.cxx | 2 +- sfx2/source/control/unoctitm.cxx | 2 +- sfx2/source/dialog/filedlghelper.cxx | 8 +- sfx2/source/dialog/mailmodelapi.cxx | 2 +- sfx2/source/doc/Metadatable.cxx | 2 +- sfx2/source/doc/docstoragemodifylistener.cxx | 8 +- sfx2/source/doc/doctempl.cxx | 2 +- sfx2/source/doc/doctemplates.cxx | 2 +- sfx2/source/doc/objmisc.cxx | 2 +- sfx2/source/doc/objuno.cxx | 2 +- sfx2/source/doc/objxtor.cxx | 2 +- sfx2/source/doc/printhelper.cxx | 2 +- sfx2/source/doc/sfxbasemodel.cxx | 2 +- sfx2/source/inc/eventsupplier.hxx | 2 +- sfx2/source/inc/sfxtypes.hxx | 2 +- sfx2/source/inc/workwin.hxx | 2 +- sfx2/source/inet/inettbc.cxx | 2 +- sfx2/source/toolbox/imgmgr.cxx | 2 +- sfx2/source/view/frmload.cxx | 2 +- sfx2/source/view/sfxbasecontroller.cxx | 2 +- sfx2/source/view/viewsh.cxx | 2 +- svx/inc/pch/precompiled_svx.hxx | 2 +- svx/inc/svx/gridctrl.hxx | 2 +- .../accessibility/AccessibleFrameSelector.cxx | 2 +- svx/source/accessibility/AccessibleTextHelper.cxx | 2 +- svx/source/accessibility/ChildrenManagerImpl.hxx | 2 +- svx/source/accessibility/DGColorNameLookUp.cxx | 2 +- svx/source/accessibility/DescriptionGenerator.cxx | 2 +- .../accessibility/GraphCtlAccessibleContext.cxx | 63 +++++++------- svx/source/accessibility/ShapeTypeHandler.cxx | 2 +- .../accessibility/svxrectctaccessiblecontext.cxx | 22 ++--- svx/source/customshapes/tbxcustomshapes.cxx | 2 +- svx/source/dialog/docrecovery.cxx | 12 +-- svx/source/fmcomp/trace.cxx | 10 +-- svx/source/form/ParseContext.cxx | 2 +- svx/source/form/fmscriptingenv.cxx | 2 +- svx/source/form/fmshimp.cxx | 4 +- svx/source/form/fmtextcontrolshell.cxx | 2 +- svx/source/form/fmundo.cxx | 2 +- svx/source/form/fmvwimp.cxx | 2 +- svx/source/form/formcontroller.cxx | 2 +- svx/source/gengal/gengal.cxx | 1 - svx/source/inc/GraphCtlAccessibleContext.hxx | 2 +- svx/source/inc/charmapacc.hxx | 2 +- svx/source/inc/svxrectctaccessiblecontext.hxx | 2 +- svx/source/inc/trace.hxx | 4 +- .../sdr/contact/viewobjectcontactofunocontrol.cxx | 2 +- svx/source/smarttags/SmartTagMgr.cxx | 2 +- svx/source/svdraw/sdrpagewindow.cxx | 2 +- svx/source/svdraw/svdoole2.cxx | 2 +- svx/source/table/accessibletableshape.cxx | 2 +- svx/source/table/cell.cxx | 19 ++--- svx/source/table/celleditsource.cxx | 5 +- svx/source/table/tabledesign.cxx | 3 +- svx/source/table/tablemodel.cxx | 29 ++++--- svx/source/tbxctrls/extrusioncontrols.cxx | 2 +- svx/source/tbxctrls/tbunocontroller.cxx | 2 +- svx/source/tbxctrls/tbunosearchcontrollers.cxx | 2 +- svx/source/tbxctrls/tbxalign.cxx | 2 +- .../chinese_translation_unodialog.cxx | 2 +- svx/source/unodraw/UnoGraphicExporter.cxx | 7 +- svx/source/unodraw/UnoNameItemTable.cxx | 3 +- svx/source/unodraw/XPropertyTable.cxx | 3 +- svx/source/unodraw/recoveryui.cxx | 2 +- svx/source/unodraw/unomlstr.cxx | 2 +- svx/source/unodraw/unomod.cxx | 15 ++-- svx/source/unodraw/unomtabl.cxx | 3 +- svx/source/unodraw/unopage.cxx | 3 +- svx/source/unodraw/unopool.cxx | 2 +- svx/source/unodraw/unoprov.cxx | 2 +- svx/source/unodraw/unoshap2.cxx | 37 ++++----- svx/source/unodraw/unoshap3.cxx | 3 +- svx/source/unodraw/unoshap4.cxx | 3 +- svx/source/unodraw/unoshape.cxx | 97 +++++++++++----------- svx/source/unodraw/unoshtxt.cxx | 5 +- svx/source/unogallery/unogalitem.cxx | 2 +- svx/source/unogallery/unogaltheme.cxx | 2 +- svx/source/unogallery/unogalthemeprovider.cxx | 2 +- svx/workben/edittest.cxx | 1 - ucb/inc/pch/precompiled_ucb.hxx | 2 +- ucb/workben/ucb/ucbdemo.cxx | 2 +- uui/source/fltdlg.cxx | 2 +- uui/source/iahndl-authentication.cxx | 2 +- uui/source/iahndl-cookies.cxx | 2 +- uui/source/iahndl-errorhandler.cxx | 2 +- uui/source/iahndl-filter.cxx | 2 +- uui/source/iahndl-locking.cxx | 2 +- uui/source/iahndl-ssl.cxx | 2 +- uui/source/iahndl.cxx | 2 +- vbahelper/source/vbahelper/vbashape.cxx | 3 +- xmloff/inc/pch/precompiled_xmloff.hxx | 2 +- xmloff/source/core/xmlexp.cxx | 6 +- 199 files changed, 383 insertions(+), 423 deletions(-) diff --git a/avmedia/source/framework/soundhandler.cxx b/avmedia/source/framework/soundhandler.cxx index cb343ffa8e..e727f2ffe0 100644 --- a/avmedia/source/framework/soundhandler.cxx +++ b/avmedia/source/framework/soundhandler.cxx @@ -330,7 +330,7 @@ void SAL_CALL SoundHandler::dispatchWithNotification(const css::util::URL& const css::uno::Reference< css::frame::XDispatchResultListener >& xListener ) throw(css::uno::RuntimeException) { // SAFE { - const ::vos::OGuard aLock( m_aLock ); + const ::osl::MutexGuard aLock( m_aLock ); { //close streams otherwise on windows we can't reopen the file in the @@ -449,7 +449,7 @@ void SAL_CALL SoundHandler::dispatch( const css::util::URL& IMPL_LINK( SoundHandler, implts_PlayerNotify, void*, EMPTYARG ) { // SAFE { - ::vos::OClearableGuard aLock( m_aLock ); + ::osl::ClearableMutexGuard aLock( m_aLock ); if (m_xPlayer.is() && m_xPlayer->isPlaying() && m_xPlayer->getMediaTime() < m_xPlayer->getDuration()) { diff --git a/avmedia/source/framework/soundhandler.hxx b/avmedia/source/framework/soundhandler.hxx index 4a707c507a..75b657f8ec 100644 --- a/avmedia/source/framework/soundhandler.hxx +++ b/avmedia/source/framework/soundhandler.hxx @@ -53,7 +53,7 @@ #include #include #include -#include +#include namespace css = ::com::sun::star; @@ -74,7 +74,7 @@ namespace avmedia{ struct ThreadHelpBase { public: - mutable ::vos::OMutex m_aLock; + mutable ::osl::Mutex m_aLock; }; /*-************************************************************************************************************//** diff --git a/avmedia/source/viewer/mediaevent_impl.cxx b/avmedia/source/viewer/mediaevent_impl.cxx index 779aa82e39..1d96dc9245 100644 --- a/avmedia/source/viewer/mediaevent_impl.cxx +++ b/avmedia/source/viewer/mediaevent_impl.cxx @@ -29,7 +29,7 @@ #include "mediaevent_impl.hxx" #include "mediawindow_impl.hxx" #include -#include +#include #include #include diff --git a/basic/inc/pch/precompiled_basic.hxx b/basic/inc/pch/precompiled_basic.hxx index 23e3ff883c..adb587cbc6 100644 --- a/basic/inc/pch/precompiled_basic.hxx +++ b/basic/inc/pch/precompiled_basic.hxx @@ -277,7 +277,7 @@ #include "osl/diagnose.h" #include "vos/macros.hxx" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "vos/process.hxx" #include "xmlscript/xmldlg_imexp.hxx" diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index bb6f901220..c74e996895 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -53,7 +53,7 @@ #include "filefmt.hxx" #include "sb.hrc" #include -#include +#include #include #include "errobject.hxx" #include diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index e22cb142f0..8765132162 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -28,7 +28,7 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_basic.hxx" -#include +#include #include #include #include diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 638c08f756..1ac08a106a 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -51,7 +51,7 @@ #include #include -#include +#include #include #include #include diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index b5259e4f14..97498a8a29 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -36,7 +36,7 @@ #include #include #include -#include +#include #include "runtime.hxx" @@ -67,7 +67,6 @@ #include using namespace comphelper; -using namespace osl; using namespace com::sun::star::uno; using namespace com::sun::star::lang; using namespace com::sun::star::ucb; @@ -344,7 +343,7 @@ BOOL hasUno( void ) class OslStream : public SvStream { - File maFile; + osl::File maFile; short mnStrmMode; public: @@ -376,14 +375,14 @@ OslStream::OslStream( const String& rName, short nStrmMode ) nFlags = OpenFlag_Read; } - FileBase::RC nRet = maFile.open( nFlags ); - if( nRet == FileBase::E_NOENT && nFlags != OpenFlag_Read ) + osl::FileBase::RC nRet = maFile.open( nFlags ); + if( nRet == osl::FileBase::E_NOENT && nFlags != OpenFlag_Read ) { nFlags |= OpenFlag_Create; nRet = maFile.open( nFlags ); } - if( nRet != FileBase::E_None ) + if( nRet != osl::FileBase::E_None ) { SetError( ERRCODE_IO_GENERAL ); } @@ -398,7 +397,7 @@ OslStream::~OslStream() ULONG OslStream::GetData( void* pData, ULONG nSize ) { sal_uInt64 nBytesRead = nSize; - FileBase::RC nRet = FileBase::E_None; + osl::FileBase::RC nRet = osl::FileBase::E_None; nRet = maFile.read( pData, nBytesRead, nBytesRead ); return (ULONG)nBytesRead; } @@ -406,14 +405,14 @@ ULONG OslStream::GetData( void* pData, ULONG nSize ) ULONG OslStream::PutData( const void* pData, ULONG nSize ) { sal_uInt64 nBytesWritten; - FileBase::RC nRet = FileBase::E_None; + osl::FileBase::RC nRet = osl::FileBase::E_None; nRet = maFile.write( pData, (sal_uInt64)nSize, nBytesWritten ); return (ULONG)nBytesWritten; } ULONG OslStream::SeekPos( ULONG nPos ) { - FileBase::RC nRet; + osl::FileBase::RC nRet; if( nPos == STREAM_SEEK_TO_END ) { nRet = maFile.setPos( Pos_End, 0 ); @@ -433,7 +432,7 @@ void OslStream::FlushData() void OslStream::SetSize( ULONG nSize ) { - FileBase::RC nRet = FileBase::E_None; + osl::FileBase::RC nRet = osl::FileBase::E_None; nRet = maFile.setSize( (sal_uInt64)nSize ); } diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index 6a006992fd..67451fa117 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -34,7 +34,7 @@ #include #include #include -#include +#include #ifndef __RSC //autogen #include #endif diff --git a/connectivity/inc/pch/precompiled_connectivity.hxx b/connectivity/inc/pch/precompiled_connectivity.hxx index 1579c30cb6..34bbef9316 100644 --- a/connectivity/inc/pch/precompiled_connectivity.hxx +++ b/connectivity/inc/pch/precompiled_connectivity.hxx @@ -326,7 +326,7 @@ #include "unotools/processfactory.hxx" #include "unotools/sharedunocomponent.hxx" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "vos/process.hxx" //---MARKER--- diff --git a/connectivity/source/drivers/jdbc/Object.cxx b/connectivity/source/drivers/jdbc/Object.cxx index 9104ce241c..0062e17fd8 100644 --- a/connectivity/source/drivers/jdbc/Object.cxx +++ b/connectivity/source/drivers/jdbc/Object.cxx @@ -36,7 +36,7 @@ #include "java/tools.hxx" #include "java/sql/SQLException.hxx" #include -#include +#include #include #include #include "java/LocalRef.hxx" diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index 0d2d623032..53628fb854 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -49,7 +49,7 @@ #include "vcl/scrbar.hxx" #include "vcl/svapp.hxx" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "svtools/extensionlistbox.hxx" diff --git a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx index 60e8641d9f..564580c520 100644 --- a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx +++ b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx @@ -32,7 +32,7 @@ #include "vcl/svapp.hxx" #include "vcl/msgbox.hxx" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "toolkit/helper/vclunohelper.hxx" diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx index ff4f5e8276..91f1aff663 100644 --- a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx +++ b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx @@ -104,7 +104,7 @@ #include "vcl/image.hxx" #include "vcl/msgbox.hxx" #include "vcl/svapp.hxx" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "comphelper/processfactory.hxx" diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx index 4e4a321503..cfc42aa8d8 100644 --- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx +++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx @@ -42,7 +42,7 @@ #include "vcl/dialog.hxx" #include "vcl/msgbox.hxx" #include "vcl/svapp.hxx" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "vcl/dialog.hxx" #include "cppuhelper/implbase3.hxx" @@ -80,7 +80,7 @@ #include "dp_gui_extensioncmdqueue.hxx" #include "ucbhelper/content.hxx" #include "osl/mutex.hxx" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "rtl/ref.hxx" #include "com/sun/star/uno/Sequence.h" #include "comphelper/anytostring.hxx" diff --git a/editeng/inc/pch/precompiled_editeng.hxx b/editeng/inc/pch/precompiled_editeng.hxx index d33419d809..d9c29b4e5c 100644 --- a/editeng/inc/pch/precompiled_editeng.hxx +++ b/editeng/inc/pch/precompiled_editeng.hxx @@ -877,7 +877,7 @@ #include "vcl/unohelp2.hxx" #include "vcl/wall.hxx" #include "vcl/wintypes.hxx" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "vos/thread.hxx" #include "vos/xception.hxx" #include "xmloff/DashStyle.hxx" diff --git a/editeng/source/accessibility/AccessibleContextBase.cxx b/editeng/source/accessibility/AccessibleContextBase.cxx index a3c7b63cb4..695ec888f3 100644 --- a/editeng/source/accessibility/AccessibleContextBase.cxx +++ b/editeng/source/accessibility/AccessibleContextBase.cxx @@ -42,7 +42,7 @@ #include #include #include -#include +#include #include diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx index ab0dff3f03..727b994f2c 100644 --- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx +++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx @@ -38,7 +38,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/editeng/source/accessibility/AccessibleImageBullet.cxx b/editeng/source/accessibility/AccessibleImageBullet.cxx index a5846b6adf..3d65307c4c 100644 --- a/editeng/source/accessibility/AccessibleImageBullet.cxx +++ b/editeng/source/accessibility/AccessibleImageBullet.cxx @@ -29,7 +29,7 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_editeng.hxx" #include -#include +#include #include #include #include diff --git a/editeng/source/accessibility/AccessibleStaticTextBase.cxx b/editeng/source/accessibility/AccessibleStaticTextBase.cxx index 7d362a8867..ad35aab519 100644 --- a/editeng/source/accessibility/AccessibleStaticTextBase.cxx +++ b/editeng/source/accessibility/AccessibleStaticTextBase.cxx @@ -39,7 +39,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/editeng/source/editeng/eeobj.cxx b/editeng/source/editeng/eeobj.cxx index db7387ae4f..34d5959709 100644 --- a/editeng/source/editeng/eeobj.cxx +++ b/editeng/source/editeng/eeobj.cxx @@ -37,7 +37,7 @@ #include #include #include -#include +#include #include using namespace ::com::sun::star; diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index 8777efced4..bfb199d7ce 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -47,7 +47,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/editeng/source/uno/UnoForbiddenCharsTable.cxx b/editeng/source/uno/UnoForbiddenCharsTable.cxx index 59a8831630..5d3c3b468f 100644 --- a/editeng/source/uno/UnoForbiddenCharsTable.cxx +++ b/editeng/source/uno/UnoForbiddenCharsTable.cxx @@ -30,7 +30,7 @@ #include "precompiled_editeng.hxx" #include #include -#include +#include #include #include // LocalToLanguage, LanguageToLocale diff --git a/editeng/source/uno/unoedprx.cxx b/editeng/source/uno/unoedprx.cxx index 395d1d6e75..23f9878ecc 100644 --- a/editeng/source/uno/unoedprx.cxx +++ b/editeng/source/uno/unoedprx.cxx @@ -38,7 +38,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/editeng/source/uno/unofield.cxx b/editeng/source/uno/unofield.cxx index 41cbc848ba..6a00140341 100644 --- a/editeng/source/uno/unofield.cxx +++ b/editeng/source/uno/unofield.cxx @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include #include @@ -46,7 +46,6 @@ #include using namespace ::rtl; -using namespace ::vos; using namespace ::cppu; using namespace ::com::sun::star; diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx index 06f3dd5bd3..a9c5dd6f6d 100644 --- a/editeng/source/uno/unonrule.cxx +++ b/editeng/source/uno/unonrule.cxx @@ -35,7 +35,7 @@ #include #include -#include +#include #include #include #include @@ -57,7 +57,6 @@ using ::com::sun::star::util::XCloneable; using ::com::sun::star::ucb::XAnyCompare; -using namespace ::vos; using namespace ::std; using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/editeng/source/uno/unopracc.cxx b/editeng/source/uno/unopracc.cxx index 3e7a997d8f..759c8c686d 100644 --- a/editeng/source/uno/unopracc.cxx +++ b/editeng/source/uno/unopracc.cxx @@ -34,7 +34,7 @@ // Global header // //------------------------------------------------------------------------ -#include +#include #include #include #include diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx index 8d756288bf..d0bf0b206b 100644 --- a/editeng/source/uno/unotext.cxx +++ b/editeng/source/uno/unotext.cxx @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include #include #include @@ -57,7 +57,6 @@ #include using namespace ::rtl; -using namespace ::vos; using namespace ::cppu; using namespace ::com::sun::star; diff --git a/editeng/source/uno/unotext2.cxx b/editeng/source/uno/unotext2.cxx index 687a499f22..ced114204b 100644 --- a/editeng/source/uno/unotext2.cxx +++ b/editeng/source/uno/unotext2.cxx @@ -29,7 +29,7 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_editeng.hxx" #include -#include +#include #define _SVSTDARR_USHORTS #include @@ -44,7 +44,6 @@ #include using namespace ::rtl; -using namespace ::vos; using namespace ::cppu; using namespace ::com::sun::star; diff --git a/embeddedobj/source/msole/graphconvert.cxx b/embeddedobj/source/msole/graphconvert.cxx index c4f80af225..d9cab95ba8 100644 --- a/embeddedobj/source/msole/graphconvert.cxx +++ b/embeddedobj/source/msole/graphconvert.cxx @@ -38,7 +38,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/fpicker/source/aqua/ControlHelper.cxx b/fpicker/source/aqua/ControlHelper.cxx index 6412fda24b..67725c19ec 100644 --- a/fpicker/source/aqua/ControlHelper.cxx +++ b/fpicker/source/aqua/ControlHelper.cxx @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include "CFStringUtilities.hxx" #include "resourceprovider.hxx" diff --git a/fpicker/source/aqua/FilterHelper.cxx b/fpicker/source/aqua/FilterHelper.cxx index 29853cddac..33d0769ca7 100644 --- a/fpicker/source/aqua/FilterHelper.cxx +++ b/fpicker/source/aqua/FilterHelper.cxx @@ -28,7 +28,7 @@ #include #include -#include +#include #include #include "CFStringUtilities.hxx" diff --git a/fpicker/source/aqua/SalAquaFilePicker.cxx b/fpicker/source/aqua/SalAquaFilePicker.cxx index 70a1d988fb..f48f174c74 100644 --- a/fpicker/source/aqua/SalAquaFilePicker.cxx +++ b/fpicker/source/aqua/SalAquaFilePicker.cxx @@ -41,7 +41,7 @@ #include #include #include -#include +#include #include #include diff --git a/fpicker/source/aqua/SalAquaFolderPicker.cxx b/fpicker/source/aqua/SalAquaFolderPicker.cxx index eb81676439..de229cd3bd 100644 --- a/fpicker/source/aqua/SalAquaFolderPicker.cxx +++ b/fpicker/source/aqua/SalAquaFolderPicker.cxx @@ -41,7 +41,7 @@ #include #include #include -#include +#include #include #include "SalAquaFolderPicker.hxx" diff --git a/fpicker/source/aqua/SalAquaPicker.cxx b/fpicker/source/aqua/SalAquaPicker.cxx index de2476021e..c970b35740 100644 --- a/fpicker/source/aqua/SalAquaPicker.cxx +++ b/fpicker/source/aqua/SalAquaPicker.cxx @@ -36,7 +36,7 @@ #include #include #include -#include +#include #include #include "SalAquaPicker.hxx" #include diff --git a/fpicker/source/aqua/resourceprovider.cxx b/fpicker/source/aqua/resourceprovider.cxx index 628e19d76d..7c6b651d30 100644 --- a/fpicker/source/aqua/resourceprovider.cxx +++ b/fpicker/source/aqua/resourceprovider.cxx @@ -32,7 +32,7 @@ #include #include -#include +#include #include #include #include diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx index 3a3cbeabd6..c75245b845 100644 --- a/fpicker/source/office/OfficeFilePicker.cxx +++ b/fpicker/source/office/OfficeFilePicker.cxx @@ -59,7 +59,7 @@ #include #include #include -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "vcl/svapp.hxx" // define ---------------------------------------------------------------- diff --git a/fpicker/source/office/commonpicker.cxx b/fpicker/source/office/commonpicker.cxx index ab7efbf1cc..73a915203e 100644 --- a/fpicker/source/office/commonpicker.cxx +++ b/fpicker/source/office/commonpicker.cxx @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx index e41fe89e62..92da3d8bc9 100644 --- a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx +++ b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx @@ -51,7 +51,7 @@ #include #include #include -#include +#include #include #include diff --git a/fpicker/source/unx/gnome/SalGtkFolderPicker.cxx b/fpicker/source/unx/gnome/SalGtkFolderPicker.cxx index b9282643a1..caeb1e8c36 100644 --- a/fpicker/source/unx/gnome/SalGtkFolderPicker.cxx +++ b/fpicker/source/unx/gnome/SalGtkFolderPicker.cxx @@ -49,7 +49,7 @@ #include #include #include -#include +#include #include #include "SalGtkFolderPicker.hxx" diff --git a/fpicker/source/unx/gnome/SalGtkPicker.cxx b/fpicker/source/unx/gnome/SalGtkPicker.cxx index b5b6820df5..ceea7444ce 100644 --- a/fpicker/source/unx/gnome/SalGtkPicker.cxx +++ b/fpicker/source/unx/gnome/SalGtkPicker.cxx @@ -52,7 +52,7 @@ #include #include #include -#include +#include #include #include "SalGtkPicker.hxx" #include diff --git a/fpicker/source/unx/gnome/resourceprovider.cxx b/fpicker/source/unx/gnome/resourceprovider.cxx index 43d728a5d5..86daf325d6 100644 --- a/fpicker/source/unx/gnome/resourceprovider.cxx +++ b/fpicker/source/unx/gnome/resourceprovider.cxx @@ -35,7 +35,7 @@ #include #include #include "resourceprovider.hxx" -#include +#include #include #include #include diff --git a/fpicker/source/unx/kde4/KDE4FilePicker.cxx b/fpicker/source/unx/kde4/KDE4FilePicker.cxx index 54c093dc4a..3c2bdd8929 100644 --- a/fpicker/source/unx/kde4/KDE4FilePicker.cxx +++ b/fpicker/source/unx/kde4/KDE4FilePicker.cxx @@ -41,7 +41,7 @@ #include -#include +#include #include #include diff --git a/fpicker/source/win32/filepicker/SolarMutex.cxx b/fpicker/source/win32/filepicker/SolarMutex.cxx index 4a3c2f9dd5..393bd74836 100644 --- a/fpicker/source/win32/filepicker/SolarMutex.cxx +++ b/fpicker/source/win32/filepicker/SolarMutex.cxx @@ -30,22 +30,22 @@ #include "precompiled_fpicker.hxx" #include -#include +#include #include int ReleaseSolarMutexOnMainThreadContext(unsigned nThreadId) { int nAcquireCount = 0; - vos::IMutex& rSolarMutex = Application::GetSolarMutex(); + osl::SolarMutex& rSolarMutex = Application::GetSolarMutex(); oslThreadIdentifier nMainThreadId = Application::GetMainThreadIdentifier(); - + if ( nMainThreadId == nThreadId ) { - ::vos::IMutex& rMutex = Application::GetSolarMutex(); + ::osl::SolarMutex& rMutex = Application::GetSolarMutex(); if ( rMutex.tryToAcquire() ) nAcquireCount = Application::ReleaseSolarMutex() - 1; } - + return nAcquireCount; } diff --git a/fpicker/source/win32/filepicker/asyncrequests.cxx b/fpicker/source/win32/filepicker/asyncrequests.cxx index f3104bba4d..ed197cd9b4 100644 --- a/fpicker/source/win32/filepicker/asyncrequests.cxx +++ b/fpicker/source/win32/filepicker/asyncrequests.cxx @@ -28,7 +28,7 @@ #include "asyncrequests.hxx" #include -#include +#include //----------------------------------------------------------------------------- // namespace diff --git a/fpicker/source/win32/misc/resourceprovider.cxx b/fpicker/source/win32/misc/resourceprovider.cxx index 6b4bee1725..4b500d7d04 100644 --- a/fpicker/source/win32/misc/resourceprovider.cxx +++ b/fpicker/source/win32/misc/resourceprovider.cxx @@ -35,7 +35,7 @@ #include #include #include "resourceprovider.hxx" -#include +#include #include #include diff --git a/framework/inc/pch/precompiled_framework.hxx b/framework/inc/pch/precompiled_framework.hxx index ada29414b8..f5ab00f469 100644 --- a/framework/inc/pch/precompiled_framework.hxx +++ b/framework/inc/pch/precompiled_framework.hxx @@ -487,7 +487,7 @@ #include "vcl/window.hxx" #include "vcl/wintypes.hxx" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "vos/process.hxx" #include "vos/thread.hxx" diff --git a/framework/inc/threadhelp/lockhelper.hxx b/framework/inc/threadhelp/lockhelper.hxx index e199bdb45c..874521150b 100644 --- a/framework/inc/threadhelp/lockhelper.hxx +++ b/framework/inc/threadhelp/lockhelper.hxx @@ -45,8 +45,6 @@ // other includes //_________________________________________________________________________________________________________________ #include -#include - //_________________________________________________________________________________________________________________ // namespace //_________________________________________________________________________________________________________________ @@ -116,7 +114,7 @@ class LockHelper : public IMutex //------------------------------------------------------------------------------------------------------------- // ctor/dtor //------------------------------------------------------------------------------------------------------------- - LockHelper( ::vos::IMutex* pSolarMutex = NULL ); + LockHelper( ::osl::SolarMutex* pSolarMutex = NULL ); virtual ~LockHelper( ); //------------------------------------------------------------------------------------------------------------- @@ -137,7 +135,7 @@ class LockHelper : public IMutex //------------------------------------------------------------------------------------------------------------- // something else //------------------------------------------------------------------------------------------------------------- - static LockHelper& getGlobalLock ( ::vos::IMutex* pSolarMutex = NULL ); + static LockHelper& getGlobalLock ( ::osl::SolarMutex* pSolarMutex = NULL ); ::osl::Mutex& getShareableOslMutex( ); //------------------------------------------------------------------------------------------------------------- @@ -169,7 +167,7 @@ class LockHelper : public IMutex mutable FairRWLock* m_pFairRWLock ; mutable ::osl::Mutex* m_pOwnMutex ; - mutable ::vos::IMutex* m_pSolarMutex ; + mutable ::osl::SolarMutex* m_pSolarMutex ; mutable ::osl::Mutex* m_pShareableOslMutex ; mutable sal_Bool m_bDummySolarMutex ; }; diff --git a/framework/inc/threadhelp/threadhelpbase.hxx b/framework/inc/threadhelp/threadhelpbase.hxx index 7af1e227fa..de1bbe0453 100644 --- a/framework/inc/threadhelp/threadhelpbase.hxx +++ b/framework/inc/threadhelp/threadhelpbase.hxx @@ -77,7 +77,7 @@ struct ThreadHelpBase // public methods //------------------------------------------------------------------------------------------------------------- public: - ThreadHelpBase( ::vos::IMutex* pSolarMutex = NULL ) + ThreadHelpBase( ::osl::SolarMutex* pSolarMutex = NULL ) : m_aLock( pSolarMutex ) { } diff --git a/framework/source/classes/fwkresid.cxx b/framework/source/classes/fwkresid.cxx index 03b4a43a3c..6db48363ab 100644 --- a/framework/source/classes/fwkresid.cxx +++ b/framework/source/classes/fwkresid.cxx @@ -31,7 +31,7 @@ #include "classes/fwkresid.hxx" #include -#include +#include #include #include diff --git a/framework/source/classes/fwlresid.cxx b/framework/source/classes/fwlresid.cxx index 01061339a0..99e6b6e8ff 100644 --- a/framework/source/classes/fwlresid.cxx +++ b/framework/source/classes/fwlresid.cxx @@ -31,7 +31,7 @@ #include "classes/fwlresid.hxx" #include -#include +#include #include #include diff --git a/framework/source/classes/menumanager.cxx b/framework/source/classes/menumanager.cxx index 060650e6e9..902566e9df 100644 --- a/framework/source/classes/menumanager.cxx +++ b/framework/source/classes/menumanager.cxx @@ -73,7 +73,7 @@ #include #include -#include +#include #include #include #include @@ -83,7 +83,6 @@ //_________________________________________________________________________________________________________________ using namespace ::cppu; -using namespace ::vos; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::util; using namespace ::com::sun::star::beans; diff --git a/framework/source/dispatch/closedispatcher.cxx b/framework/source/dispatch/closedispatcher.cxx index 6d52adb010..4b7695a55a 100644 --- a/framework/source/dispatch/closedispatcher.cxx +++ b/framework/source/dispatch/closedispatcher.cxx @@ -55,7 +55,7 @@ #include #include -#include +#include #include //_______________________________________________ diff --git a/framework/source/dispatch/menudispatcher.cxx b/framework/source/dispatch/menudispatcher.cxx index 44ef2e2419..27ca3b5f30 100644 --- a/framework/source/dispatch/menudispatcher.cxx +++ b/framework/source/dispatch/menudispatcher.cxx @@ -59,7 +59,7 @@ #include #include #include -#include +#include #include #include @@ -84,10 +84,7 @@ using namespace ::com::sun::star::lang ; using namespace ::com::sun::star::uno ; using namespace ::com::sun::star::util ; using namespace ::cppu ; -using namespace ::osl ; -using namespace ::rtl ; -using namespace ::vos ; - + using ::rtl::OUString; //_________________________________________________________________________________________________________________ // non exported const //_________________________________________________________________________________________________________________ diff --git a/framework/source/dispatch/popupmenudispatcher.cxx b/framework/source/dispatch/popupmenudispatcher.cxx index f66b29a352..5089ee3019 100644 --- a/framework/source/dispatch/popupmenudispatcher.cxx +++ b/framework/source/dispatch/popupmenudispatcher.cxx @@ -58,7 +58,7 @@ //_________________________________________________________________________________________________________________ #include -#include +#include #include #include @@ -79,7 +79,6 @@ using namespace ::com::sun::star::util ; using namespace ::cppu ; using namespace ::osl ; using namespace ::rtl ; -using namespace ::vos ; //_________________________________________________________________________________________________________________ // non exported const diff --git a/framework/source/dispatch/startmoduledispatcher.cxx b/framework/source/dispatch/startmoduledispatcher.cxx index cc67c8a804..441c5be314 100644 --- a/framework/source/dispatch/startmoduledispatcher.cxx +++ b/framework/source/dispatch/startmoduledispatcher.cxx @@ -57,7 +57,7 @@ #include #include #include -#include +#include #include //_______________________________________________ diff --git a/framework/source/dispatch/windowcommanddispatch.cxx b/framework/source/dispatch/windowcommanddispatch.cxx index 42d546f5c9..c177ed8d79 100644 --- a/framework/source/dispatch/windowcommanddispatch.cxx +++ b/framework/source/dispatch/windowcommanddispatch.cxx @@ -51,7 +51,7 @@ #include #include #include -#include +#include #include #include diff --git a/framework/source/helper/actiontriggerhelper.cxx b/framework/source/helper/actiontriggerhelper.cxx index fc42d63fbe..2c0b64c5cc 100644 --- a/framework/source/helper/actiontriggerhelper.cxx +++ b/framework/source/helper/actiontriggerhelper.cxx @@ -37,7 +37,7 @@ #include #include #include -#include +#include #include #include #include @@ -46,7 +46,6 @@ const USHORT START_ITEMID = 1000; using namespace rtl; -using namespace vos; using namespace com::sun::star::awt; using namespace com::sun::star::uno; using namespace com::sun::star::lang; diff --git a/framework/source/helper/propertysetcontainer.cxx b/framework/source/helper/propertysetcontainer.cxx index bb6cb077c6..d38aefcef8 100644 --- a/framework/source/helper/propertysetcontainer.cxx +++ b/framework/source/helper/propertysetcontainer.cxx @@ -36,7 +36,6 @@ #define WRONG_TYPE_EXCEPTION "Only XPropertSet allowed!" using namespace rtl; -using namespace vos; using namespace cppu; using namespace com::sun::star::uno; using namespace com::sun::star::container; diff --git a/framework/source/helper/statusindicatorfactory.cxx b/framework/source/helper/statusindicatorfactory.cxx index d0be245c9a..cf11be439d 100644 --- a/framework/source/helper/statusindicatorfactory.cxx +++ b/framework/source/helper/statusindicatorfactory.cxx @@ -63,7 +63,7 @@ #include #include #include -#include +#include //----------------------------------------------- // namespace diff --git a/framework/source/inc/pattern/window.hxx b/framework/source/inc/pattern/window.hxx index 2a9bbec451..5d3ac6e7ba 100644 --- a/framework/source/inc/pattern/window.hxx +++ b/framework/source/inc/pattern/window.hxx @@ -46,7 +46,7 @@ #include #include #include -#include +#include #include //_______________________________________________ diff --git a/framework/source/threadhelp/lockhelper.cxx b/framework/source/threadhelp/lockhelper.cxx index 0e8b4a51cd..e3896fa23a 100644 --- a/framework/source/threadhelp/lockhelper.cxx +++ b/framework/source/threadhelp/lockhelper.cxx @@ -37,6 +37,7 @@ #include #include +#include "vcl/solarmutex.hxx" //_________________________________________________________________________________________________________________ // interface includes @@ -77,7 +78,7 @@ namespace framework{ @onerror - *//*-*************************************************************************************************************/ -LockHelper::LockHelper( ::vos::IMutex* pSolarMutex ) +LockHelper::LockHelper( ::osl::SolarMutex* pSolarMutex ) : m_pFairRWLock ( NULL ) , m_pOwnMutex ( NULL ) , m_pSolarMutex ( NULL ) @@ -93,17 +94,17 @@ LockHelper::LockHelper( ::vos::IMutex* pSolarMutex ) } break; case E_SOLARMUTEX : { - if( pSolarMutex == NULL ) - { - m_pSolarMutex = new ::vos::OMutex; - m_bDummySolarMutex = sal_True; - } - else - { - m_pSolarMutex = pSolarMutex; - } - } - break; + if( pSolarMutex == NULL ) + { + m_pSolarMutex = new ::vcl::SolarMutexObject; + m_bDummySolarMutex = sal_True; + } + else + { + m_pSolarMutex = pSolarMutex; + } + } + break; case E_FAIRRWLOCK : { m_pFairRWLock = new FairRWLock; } @@ -148,7 +149,7 @@ LockHelper::~LockHelper() { if (m_bDummySolarMutex) { - delete static_cast(m_pSolarMutex); + delete static_cast(m_pSolarMutex); m_bDummySolarMutex = sal_False; } m_pSolarMutex = NULL; @@ -433,7 +434,7 @@ void LockHelper::downgradeWriteAccess() @onerror No error should occure. *//*-*************************************************************************************************************/ -LockHelper& LockHelper::getGlobalLock( ::vos::IMutex* pSolarMutex ) +LockHelper& LockHelper::getGlobalLock( ::osl::SolarMutex* pSolarMutex ) { // Initialize static "member" only for one time! // Algorithm: diff --git a/framework/source/uielement/buttontoolbarcontroller.cxx b/framework/source/uielement/buttontoolbarcontroller.cxx index 40f74aedcf..499bff1ed4 100644 --- a/framework/source/uielement/buttontoolbarcontroller.cxx +++ b/framework/source/uielement/buttontoolbarcontroller.cxx @@ -53,7 +53,7 @@ //_________________________________________________________________________________________________________________ #include -#include +#include #include #include #include diff --git a/framework/source/uielement/comboboxtoolbarcontroller.cxx b/framework/source/uielement/comboboxtoolbarcontroller.cxx index 39dc97eb57..32a95e1a6e 100644 --- a/framework/source/uielement/comboboxtoolbarcontroller.cxx +++ b/framework/source/uielement/comboboxtoolbarcontroller.cxx @@ -53,7 +53,7 @@ // other includes //_________________________________________________________________________________________________________________ #include -#include +#include #include #include #include diff --git a/framework/source/uielement/complextoolbarcontroller.cxx b/framework/source/uielement/complextoolbarcontroller.cxx index 6e7a440aea..652864830f 100644 --- a/framework/source/uielement/complextoolbarcontroller.cxx +++ b/framework/source/uielement/complextoolbarcontroller.cxx @@ -53,7 +53,7 @@ // other includes //_________________________________________________________________________________________________________________ #include -#include +#include #include #include #include diff --git a/framework/source/uielement/controlmenucontroller.cxx b/framework/source/uielement/controlmenucontroller.cxx index 2900461812..c5c1275648 100644 --- a/framework/source/uielement/controlmenucontroller.cxx +++ b/framework/source/uielement/controlmenucontroller.cxx @@ -63,7 +63,7 @@ #include #include #include -#include +#include // Copied from svx // Function-Id's diff --git a/framework/source/uielement/dropdownboxtoolbarcontroller.cxx b/framework/source/uielement/dropdownboxtoolbarcontroller.cxx index 360cd9c592..438532ed4a 100644 --- a/framework/source/uielement/dropdownboxtoolbarcontroller.cxx +++ b/framework/source/uielement/dropdownboxtoolbarcontroller.cxx @@ -52,7 +52,7 @@ // other includes //_________________________________________________________________________________________________________________ #include -#include +#include #include #include #include diff --git a/framework/source/uielement/edittoolbarcontroller.cxx b/framework/source/uielement/edittoolbarcontroller.cxx index a61a9f21ae..2f4366bdd9 100644 --- a/framework/source/uielement/edittoolbarcontroller.cxx +++ b/framework/source/uielement/edittoolbarcontroller.cxx @@ -52,7 +52,7 @@ // other includes //_________________________________________________________________________________________________________________ #include -#include +#include #include #include #include diff --git a/framework/source/uielement/fontmenucontroller.cxx b/framework/source/uielement/fontmenucontroller.cxx index cc58e22cde..f47d6078f5 100644 --- a/framework/source/uielement/fontmenucontroller.cxx +++ b/framework/source/uielement/fontmenucontroller.cxx @@ -56,7 +56,7 @@ #include #include #include -#include +#include //_________________________________________________________________________________________________________________ // Defines diff --git a/framework/source/uielement/fontsizemenucontroller.cxx b/framework/source/uielement/fontsizemenucontroller.cxx index ba54c7a9e1..f9f303fe5c 100644 --- a/framework/source/uielement/fontsizemenucontroller.cxx +++ b/framework/source/uielement/fontsizemenucontroller.cxx @@ -57,7 +57,7 @@ #include #include #include -#include +#include //_________________________________________________________________________________________________________________ // Defines diff --git a/framework/source/uielement/generictoolbarcontroller.cxx b/framework/source/uielement/generictoolbarcontroller.cxx index 4ff1683376..d5cd4e8e35 100644 --- a/framework/source/uielement/generictoolbarcontroller.cxx +++ b/framework/source/uielement/generictoolbarcontroller.cxx @@ -52,7 +52,7 @@ // other includes //_________________________________________________________________________________________________________________ #include -#include +#include #include #include #include diff --git a/framework/source/uielement/headermenucontroller.cxx b/framework/source/uielement/headermenucontroller.cxx index 2ef71b8cfe..8c9cb6fe3d 100644 --- a/framework/source/uielement/headermenucontroller.cxx +++ b/framework/source/uielement/headermenucontroller.cxx @@ -60,7 +60,7 @@ #include #include #include -#include +#include //_________________________________________________________________________________________________________________ // Defines diff --git a/framework/source/uielement/imagebuttontoolbarcontroller.cxx b/framework/source/uielement/imagebuttontoolbarcontroller.cxx index a40880760a..62de977989 100644 --- a/framework/source/uielement/imagebuttontoolbarcontroller.cxx +++ b/framework/source/uielement/imagebuttontoolbarcontroller.cxx @@ -53,7 +53,7 @@ //_________________________________________________________________________________________________________________ #include -#include +#include #include #include #include diff --git a/framework/source/uielement/langselectionmenucontroller.cxx b/framework/source/uielement/langselectionmenucontroller.cxx index 57a2252c09..928de91087 100644 --- a/framework/source/uielement/langselectionmenucontroller.cxx +++ b/framework/source/uielement/langselectionmenucontroller.cxx @@ -72,7 +72,7 @@ #include #include "helper/mischelper.hxx" -#include +#include #include #include diff --git a/framework/source/uielement/langselectionstatusbarcontroller.cxx b/framework/source/uielement/langselectionstatusbarcontroller.cxx index 05693a4d38..2a53808141 100644 --- a/framework/source/uielement/langselectionstatusbarcontroller.cxx +++ b/framework/source/uielement/langselectionstatusbarcontroller.cxx @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/framework/source/uielement/logoimagestatusbarcontroller.cxx b/framework/source/uielement/logoimagestatusbarcontroller.cxx index 96001bd1a6..f913c6128e 100644 --- a/framework/source/uielement/logoimagestatusbarcontroller.cxx +++ b/framework/source/uielement/logoimagestatusbarcontroller.cxx @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/framework/source/uielement/logotextstatusbarcontroller.cxx b/framework/source/uielement/logotextstatusbarcontroller.cxx index 3128abaae1..3828a8b151 100644 --- a/framework/source/uielement/logotextstatusbarcontroller.cxx +++ b/framework/source/uielement/logotextstatusbarcontroller.cxx @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/framework/source/uielement/macrosmenucontroller.cxx b/framework/source/uielement/macrosmenucontroller.cxx index 6274a18a74..20528aee25 100644 --- a/framework/source/uielement/macrosmenucontroller.cxx +++ b/framework/source/uielement/macrosmenucontroller.cxx @@ -49,7 +49,7 @@ #include #include #include "helper/mischelper.hxx" -#include +#include using namespace com::sun::star::uno; using namespace com::sun::star::lang; diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index 58657f1e50..1c272977b8 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -87,7 +87,7 @@ #include #include #include -#include +#include #include #include #include @@ -113,7 +113,6 @@ struct SystemMenuData //_________________________________________________________________________________________________________________ using namespace ::cppu; -using namespace ::vos; using namespace ::com::sun::star; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::util; diff --git a/framework/source/uielement/newmenucontroller.cxx b/framework/source/uielement/newmenucontroller.cxx index 9c177508c3..13219be528 100644 --- a/framework/source/uielement/newmenucontroller.cxx +++ b/framework/source/uielement/newmenucontroller.cxx @@ -66,7 +66,7 @@ #include #include #include -#include +#include //_________________________________________________________________________________________________________________ // Defines diff --git a/framework/source/uielement/objectmenucontroller.cxx b/framework/source/uielement/objectmenucontroller.cxx index 47618f39d8..530da68039 100644 --- a/framework/source/uielement/objectmenucontroller.cxx +++ b/framework/source/uielement/objectmenucontroller.cxx @@ -56,7 +56,7 @@ #include #include #include -#include +#include //_________________________________________________________________________________________________________________ // Defines diff --git a/framework/source/uielement/popupmenucontroller.cxx b/framework/source/uielement/popupmenucontroller.cxx index 274013ce24..32593964b9 100644 --- a/framework/source/uielement/popupmenucontroller.cxx +++ b/framework/source/uielement/popupmenucontroller.cxx @@ -39,7 +39,7 @@ #include #include #include -#include +#include #include "uielement/popupmenucontroller.hxx" #include "services.h" diff --git a/framework/source/uielement/recentfilesmenucontroller.cxx b/framework/source/uielement/recentfilesmenucontroller.cxx index 2122c59ddb..785ac2e4da 100644 --- a/framework/source/uielement/recentfilesmenucontroller.cxx +++ b/framework/source/uielement/recentfilesmenucontroller.cxx @@ -64,7 +64,7 @@ #include #endif #include -#include +#include //_________________________________________________________________________________________________________________ // Defines diff --git a/framework/source/uielement/simpletextstatusbarcontroller.cxx b/framework/source/uielement/simpletextstatusbarcontroller.cxx index 9ef1068577..69cdb039e0 100644 --- a/framework/source/uielement/simpletextstatusbarcontroller.cxx +++ b/framework/source/uielement/simpletextstatusbarcontroller.cxx @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/framework/source/uielement/spinfieldtoolbarcontroller.cxx b/framework/source/uielement/spinfieldtoolbarcontroller.cxx index 4d508ac368..b5eed582ed 100644 --- a/framework/source/uielement/spinfieldtoolbarcontroller.cxx +++ b/framework/source/uielement/spinfieldtoolbarcontroller.cxx @@ -55,7 +55,7 @@ // other includes //_________________________________________________________________________________________________________________ #include -#include +#include #include #include #include diff --git a/framework/source/uielement/statusindicatorinterfacewrapper.cxx b/framework/source/uielement/statusindicatorinterfacewrapper.cxx index b30f0ade9a..aca204ff22 100644 --- a/framework/source/uielement/statusindicatorinterfacewrapper.cxx +++ b/framework/source/uielement/statusindicatorinterfacewrapper.cxx @@ -41,7 +41,7 @@ //_________________________________________________________________________________________________________________ #include -#include +#include using namespace cppu; using namespace com::sun::star::uno; diff --git a/framework/source/uielement/togglebuttontoolbarcontroller.cxx b/framework/source/uielement/togglebuttontoolbarcontroller.cxx index 8f98626944..34b4a05fdf 100644 --- a/framework/source/uielement/togglebuttontoolbarcontroller.cxx +++ b/framework/source/uielement/togglebuttontoolbarcontroller.cxx @@ -53,7 +53,7 @@ //_________________________________________________________________________________________________________________ #include -#include +#include #include #include #include diff --git a/linguistic/source/thesdsp.hxx b/linguistic/source/thesdsp.hxx index 97259e1678..02bfbff876 100644 --- a/linguistic/source/thesdsp.hxx +++ b/linguistic/source/thesdsp.hxx @@ -45,7 +45,7 @@ #include // helper for implementations #include -#include +#include #include #include diff --git a/scripting/source/basprov/baslibnode.cxx b/scripting/source/basprov/baslibnode.cxx index c4bad8c29b..1e805bce43 100644 --- a/scripting/source/basprov/baslibnode.cxx +++ b/scripting/source/basprov/baslibnode.cxx @@ -31,7 +31,7 @@ #include "baslibnode.hxx" #include "basmodnode.hxx" #include -#include +#include #include #include #include diff --git a/scripting/source/basprov/basmethnode.cxx b/scripting/source/basprov/basmethnode.cxx index feec2149cb..0496c402c0 100644 --- a/scripting/source/basprov/basmethnode.cxx +++ b/scripting/source/basprov/basmethnode.cxx @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/scripting/source/basprov/basmodnode.cxx b/scripting/source/basprov/basmodnode.cxx index fc69f04693..0a68d53228 100644 --- a/scripting/source/basprov/basmodnode.cxx +++ b/scripting/source/basprov/basmodnode.cxx @@ -31,7 +31,7 @@ #include "basmodnode.hxx" #include "basmethnode.hxx" #include -#include +#include #include #include #include diff --git a/scripting/source/basprov/basprov.cxx b/scripting/source/basprov/basprov.cxx index b325e7c890..af9c35b5e4 100644 --- a/scripting/source/basprov/basprov.cxx +++ b/scripting/source/basprov/basprov.cxx @@ -40,7 +40,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/scripting/source/basprov/basscript.cxx b/scripting/source/basprov/basscript.cxx index 19b950fad8..ccd0eb27a7 100644 --- a/scripting/source/basprov/basscript.cxx +++ b/scripting/source/basprov/basscript.cxx @@ -29,7 +29,7 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_scripting.hxx" #include "basscript.hxx" -#include +#include #include #include #include diff --git a/sfx2/inc/pch/precompiled_sfx2.hxx b/sfx2/inc/pch/precompiled_sfx2.hxx index ddd024942e..5b2f32a786 100644 --- a/sfx2/inc/pch/precompiled_sfx2.hxx +++ b/sfx2/inc/pch/precompiled_sfx2.hxx @@ -659,7 +659,7 @@ #include "vcl/wintypes.hxx" #include "osl/diagnose.h" #include "vos/module.hxx" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "vos/process.hxx" #include "vos/xception.hxx" //---MARKER--- diff --git a/sfx2/inc/sfx2/docstoragemodifylistener.hxx b/sfx2/inc/sfx2/docstoragemodifylistener.hxx index 5b9ae8cc74..f846ab27ac 100644 --- a/sfx2/inc/sfx2/docstoragemodifylistener.hxx +++ b/sfx2/inc/sfx2/docstoragemodifylistener.hxx @@ -36,10 +36,6 @@ #include -namespace vos -{ - class IMutex; -} //........................................................................ namespace sfx2 @@ -66,10 +62,10 @@ namespace sfx2 class SFX2_DLLPUBLIC DocumentStorageModifyListener : public DocumentStorageModifyListener_Base { IModifiableDocument* m_pDocument; - ::vos::IMutex& m_rMutex; + ::osl::SolarMutex& m_rMutex; public: - DocumentStorageModifyListener( IModifiableDocument& _rDocument, ::vos::IMutex& _rMutex ); + DocumentStorageModifyListener( IModifiableDocument& _rDocument, ::osl::SolarMutex& _rMutex ); void dispose(); diff --git a/sfx2/inc/sfx2/sfxbasemodel.hxx b/sfx2/inc/sfx2/sfxbasemodel.hxx index 9fe06190ef..4efec7285b 100644 --- a/sfx2/inc/sfx2/sfxbasemodel.hxx +++ b/sfx2/inc/sfx2/sfxbasemodel.hxx @@ -85,7 +85,7 @@ #include #include #include -#include +#include #include #include diff --git a/sfx2/source/appl/appdata.cxx b/sfx2/source/appl/appdata.cxx index 419b9637dc..1814a691a4 100644 --- a/sfx2/source/appl/appdata.cxx +++ b/sfx2/source/appl/appdata.cxx @@ -35,7 +35,7 @@ #define _SVSTDARR_STRINGS #include -#include +#include #include #include diff --git a/sfx2/source/appl/appmisc.cxx b/sfx2/source/appl/appmisc.cxx index 47a82cee1c..b976915223 100644 --- a/sfx2/source/appl/appmisc.cxx +++ b/sfx2/source/appl/appmisc.cxx @@ -47,7 +47,7 @@ #include #include #include -#include +#include #include #include @@ -87,7 +87,6 @@ #include #include "helper.hxx" // SfxContentHelper::Kill() -using namespace ::vos; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::util; using namespace ::com::sun::star::beans; @@ -165,7 +164,7 @@ void SfxApplication::InitializeDisplayName_Impl() String aTitle = Application::GetDisplayName(); if ( !aTitle.Len() ) { - OClearableGuard aGuard( OMutex::getGlobalMutex() ); + osl::ClearableMutexGuard aGuard( osl::Mutex::getGlobalMutex() ); // create version string /*!!! (pb) don't show a version number at the moment diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx index 8b68150ec3..2f3311c3b7 100644 --- a/sfx2/source/appl/appopen.cxx +++ b/sfx2/source/appl/appopen.cxx @@ -81,7 +81,7 @@ #include #include -#include +#include #include diff --git a/sfx2/source/appl/fwkhelper.cxx b/sfx2/source/appl/fwkhelper.cxx index 0784a17255..b0f3ffc20c 100644 --- a/sfx2/source/appl/fwkhelper.cxx +++ b/sfx2/source/appl/fwkhelper.cxx @@ -32,7 +32,7 @@ #include #include "sal/config.h" -#include +#include #include #include "workwin.hxx" diff --git a/sfx2/source/appl/imestatuswindow.cxx b/sfx2/source/appl/imestatuswindow.cxx index 58dc6914fd..a9993b0b76 100644 --- a/sfx2/source/appl/imestatuswindow.cxx +++ b/sfx2/source/appl/imestatuswindow.cxx @@ -51,7 +51,7 @@ #include "rtl/ustring.hxx" #include "sal/types.h" #include "vcl/svapp.hxx" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" namespace css = com::sun::star; diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx index 1ca2708fa4..b7e058b27d 100644 --- a/sfx2/source/appl/shutdownicon.cxx +++ b/sfx2/source/appl/shutdownicon.cxx @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include #include @@ -77,7 +77,6 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::util; using namespace ::com::sun::star::ui::dialogs; -using namespace ::vos; using namespace ::rtl; using namespace ::sfx2; diff --git a/sfx2/source/appl/shutdowniconaqua.mm b/sfx2/source/appl/shutdowniconaqua.mm index a3fb6d15c3..8ce1927f80 100644 --- a/sfx2/source/appl/shutdowniconaqua.mm +++ b/sfx2/source/appl/shutdowniconaqua.mm @@ -34,7 +34,7 @@ #include "tools/urlobj.hxx" #include "osl/file.h" #include "comphelper/sequenceashashmap.hxx" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "sfx2/app.hxx" #include #include "app.hrc" diff --git a/sfx2/source/appl/shutdowniconunx.cxx b/sfx2/source/appl/shutdowniconunx.cxx index 1722d022e1..ab3b2c6bb4 100644 --- a/sfx2/source/appl/shutdowniconunx.cxx +++ b/sfx2/source/appl/shutdowniconunx.cxx @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx index 77818ade10..57f743d5c2 100644 --- a/sfx2/source/bastyp/fltfnc.cxx +++ b/sfx2/source/bastyp/fltfnc.cxx @@ -98,7 +98,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::ucb; using namespace ::com::sun::star::document; using namespace ::com::sun::star::beans; -using namespace ::vos; #include #include #include diff --git a/sfx2/source/bastyp/fltlst.cxx b/sfx2/source/bastyp/fltlst.cxx index 416d9a65a0..a9637faa62 100644 --- a/sfx2/source/bastyp/fltlst.cxx +++ b/sfx2/source/bastyp/fltlst.cxx @@ -42,7 +42,7 @@ #include #include -#include +#include //***************************************************************************************************************** // namespaces diff --git a/sfx2/source/control/querystatus.cxx b/sfx2/source/control/querystatus.cxx index c0a330eeec..2627cd82fd 100644 --- a/sfx2/source/control/querystatus.cxx +++ b/sfx2/source/control/querystatus.cxx @@ -38,7 +38,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/sfx2/source/control/sfxstatuslistener.cxx b/sfx2/source/control/sfxstatuslistener.cxx index 7b729af8e1..f79846be44 100644 --- a/sfx2/source/control/sfxstatuslistener.cxx +++ b/sfx2/source/control/sfxstatuslistener.cxx @@ -38,7 +38,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 1c75381f9c..c7c5d69f26 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -51,7 +51,7 @@ #include #include #include -#include +#include #include #include diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index 6428f4d9ab..ab0cff33ac 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -64,7 +64,7 @@ #include #include #include -#include +#include #include #include #include @@ -1160,7 +1160,7 @@ FileDialogHelper_Impl::~FileDialogHelper_Impl() class PickerThread_Impl : public ::osl::Thread { uno::Reference < XFilePicker > mxPicker; - ::vos::OMutex maMutex; + ::osl::Mutex maMutex; virtual void SAL_CALL run(); sal_Int16 mnRet; public: @@ -1168,10 +1168,10 @@ public: : mxPicker( rPicker ), mnRet(nMagic) {} sal_Int16 GetReturnValue() - { ::vos::OGuard aGuard( maMutex ); return mnRet; } + { ::osl::MutexGuard aGuard( maMutex ); return mnRet; } void SetReturnValue( sal_Int16 aRetValue ) - { ::vos::OGuard aGuard( maMutex ); mnRet = aRetValue; } + { ::osl::MutexGuard aGuard( maMutex ); mnRet = aRetValue; } }; void SAL_CALL PickerThread_Impl::run() diff --git a/sfx2/source/dialog/mailmodelapi.cxx b/sfx2/source/dialog/mailmodelapi.cxx index f33ca57b8e..e0c0f87e58 100644 --- a/sfx2/source/dialog/mailmodelapi.cxx +++ b/sfx2/source/dialog/mailmodelapi.cxx @@ -46,7 +46,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/sfx2/source/doc/Metadatable.cxx b/sfx2/source/doc/Metadatable.cxx index 6ad26b7226..f579fec61d 100644 --- a/sfx2/source/doc/Metadatable.cxx +++ b/sfx2/source/doc/Metadatable.cxx @@ -31,7 +31,7 @@ #include #include -#include +#include #include // solarmutex #include diff --git a/sfx2/source/doc/docstoragemodifylistener.cxx b/sfx2/source/doc/docstoragemodifylistener.cxx index 39f9553f86..4f874290d0 100644 --- a/sfx2/source/doc/docstoragemodifylistener.cxx +++ b/sfx2/source/doc/docstoragemodifylistener.cxx @@ -30,7 +30,7 @@ #include "precompiled_sfx2.hxx" #include "sfx2/docstoragemodifylistener.hxx" -#include +#include /** === begin UNO includes === **/ /** === end UNO includes === **/ @@ -57,7 +57,7 @@ namespace sfx2 //= //==================================================================== //-------------------------------------------------------------------- - DocumentStorageModifyListener::DocumentStorageModifyListener( IModifiableDocument& _rDocument, ::vos::IMutex& _rMutex ) + DocumentStorageModifyListener::DocumentStorageModifyListener( IModifiableDocument& _rDocument, ::osl::SolarMutex& _rMutex ) :m_pDocument( &_rDocument ) ,m_rMutex( _rMutex ) { @@ -71,14 +71,14 @@ namespace sfx2 //-------------------------------------------------------------------- void DocumentStorageModifyListener::dispose() { - ::vos::OGuard aGuard( m_rMutex ); + ::osl::SolarMutexGuard aGuard( m_rMutex ); m_pDocument = NULL; } //-------------------------------------------------------------------- void SAL_CALL DocumentStorageModifyListener::modified( const EventObject& /*aEvent*/ ) throw (RuntimeException) { - ::vos::OGuard aGuard( m_rMutex ); + ::osl::SolarMutexGuard aGuard( m_rMutex ); // storageIsModified must not contain any locking! if ( m_pDocument ) m_pDocument->storageIsModified(); diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index ce13f6e26b..868b52bd71 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -31,7 +31,7 @@ #include #include -#include +#include #include #include diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx index 0d1f60b0ed..016ea959e5 100644 --- a/sfx2/source/doc/doctemplates.cxx +++ b/sfx2/source/doc/doctemplates.cxx @@ -30,7 +30,7 @@ #include "precompiled_sfx2.hxx" #include "doctemplates.hxx" -#include +#include #include #include #include diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index d37c8a0171..a42d1dba3d 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -35,7 +35,7 @@ #include #include #include // SvKeyValue -#include +#include #include #include diff --git a/sfx2/source/doc/objuno.cxx b/sfx2/source/doc/objuno.cxx index fabbb4f451..b54b23365b 100644 --- a/sfx2/source/doc/objuno.cxx +++ b/sfx2/source/doc/objuno.cxx @@ -55,7 +55,7 @@ #include #include #include -#include +#include #include #include diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx index b9565de573..914d69009d 100644 --- a/sfx2/source/doc/objxtor.cxx +++ b/sfx2/source/doc/objxtor.cxx @@ -40,7 +40,7 @@ #include #include #include -#include +#include #include #include diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx index fc1807f582..d6a714c4a5 100644 --- a/sfx2/source/doc/printhelper.cxx +++ b/sfx2/source/doc/printhelper.cxx @@ -53,7 +53,7 @@ #include #include #include -#include +#include #include #include diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index ee9a3c2f85..8f81876e71 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -81,7 +81,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/sfx2/source/inc/eventsupplier.hxx b/sfx2/source/inc/eventsupplier.hxx index b8c1adba42..48379b49af 100644 --- a/sfx2/source/inc/eventsupplier.hxx +++ b/sfx2/source/inc/eventsupplier.hxx @@ -52,7 +52,7 @@ #include #include -#include +#include #include #include #include diff --git a/sfx2/source/inc/sfxtypes.hxx b/sfx2/source/inc/sfxtypes.hxx index 529cf1fd86..a7af06d5c6 100644 --- a/sfx2/source/inc/sfxtypes.hxx +++ b/sfx2/source/inc/sfxtypes.hxx @@ -35,7 +35,7 @@ #include #include -#include +#include #ifndef DELETEZ #define DELETEZ(pPtr) ( delete pPtr, pPtr = 0 ) diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx index eb3b6a9089..2ba75482be 100644 --- a/sfx2/source/inc/workwin.hxx +++ b/sfx2/source/inc/workwin.hxx @@ -39,7 +39,7 @@ #define _SVSTDARR_USHORTS #include // SvUShorts #include -#include +#include #include #include diff --git a/sfx2/source/inet/inettbc.cxx b/sfx2/source/inet/inettbc.cxx index 7b3b84b0a3..1e73582411 100644 --- a/sfx2/source/inet/inettbc.cxx +++ b/sfx2/source/inet/inettbc.cxx @@ -41,7 +41,7 @@ #include #include #include -#include +#include #include #include diff --git a/sfx2/source/toolbox/imgmgr.cxx b/sfx2/source/toolbox/imgmgr.cxx index b5d2192918..169288a1d1 100644 --- a/sfx2/source/toolbox/imgmgr.cxx +++ b/sfx2/source/toolbox/imgmgr.cxx @@ -45,7 +45,7 @@ #include #include #include -#include +#include #include diff --git a/sfx2/source/view/frmload.cxx b/sfx2/source/view/frmload.cxx index e29afda2d5..982ab59b15 100644 --- a/sfx2/source/view/frmload.cxx +++ b/sfx2/source/view/frmload.cxx @@ -76,7 +76,7 @@ #include #include #include -#include +#include /** === begin UNO using === **/ using ::com::sun::star::beans::PropertyValue; diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx index b7dd674152..db7fe17533 100644 --- a/sfx2/source/view/sfxbasecontroller.cxx +++ b/sfx2/source/view/sfxbasecontroller.cxx @@ -81,7 +81,7 @@ #include #include -#include +#include #include #include #include diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index 0f82ab002c..652470785a 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -50,7 +50,7 @@ #include #include -#include +#include #include #include #include diff --git a/svx/inc/pch/precompiled_svx.hxx b/svx/inc/pch/precompiled_svx.hxx index 1860480941..1c40c0a4c0 100644 --- a/svx/inc/pch/precompiled_svx.hxx +++ b/svx/inc/pch/precompiled_svx.hxx @@ -944,7 +944,7 @@ #include "vcl/unohelp2.hxx" #include "vcl/wall.hxx" #include "vcl/wintypes.hxx" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "vos/xception.hxx" #include "xmloff/DashStyle.hxx" #include "xmloff/GradientStyle.hxx" diff --git a/svx/inc/svx/gridctrl.hxx b/svx/inc/svx/gridctrl.hxx index b2432c26d5..eab8db48ac 100644 --- a/svx/inc/svx/gridctrl.hxx +++ b/svx/inc/svx/gridctrl.hxx @@ -42,7 +42,7 @@ #include #include #include -#include +#include #include #include #include "svx/svxdllapi.h" diff --git a/svx/source/accessibility/AccessibleFrameSelector.cxx b/svx/source/accessibility/AccessibleFrameSelector.cxx index d495f43eb0..d4c168275f 100644 --- a/svx/source/accessibility/AccessibleFrameSelector.cxx +++ b/svx/source/accessibility/AccessibleFrameSelector.cxx @@ -39,7 +39,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/svx/source/accessibility/AccessibleTextHelper.cxx b/svx/source/accessibility/AccessibleTextHelper.cxx index a1b4a4baa1..95d1e61fa8 100644 --- a/svx/source/accessibility/AccessibleTextHelper.cxx +++ b/svx/source/accessibility/AccessibleTextHelper.cxx @@ -39,7 +39,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/svx/source/accessibility/ChildrenManagerImpl.hxx b/svx/source/accessibility/ChildrenManagerImpl.hxx index 06c49670a6..b1a49eeca3 100644 --- a/svx/source/accessibility/ChildrenManagerImpl.hxx +++ b/svx/source/accessibility/ChildrenManagerImpl.hxx @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/svx/source/accessibility/DGColorNameLookUp.cxx b/svx/source/accessibility/DGColorNameLookUp.cxx index 5405a10ce8..cafe0d6a4a 100644 --- a/svx/source/accessibility/DGColorNameLookUp.cxx +++ b/svx/source/accessibility/DGColorNameLookUp.cxx @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include diff --git a/svx/source/accessibility/DescriptionGenerator.cxx b/svx/source/accessibility/DescriptionGenerator.cxx index acc7627859..999b155ee1 100644 --- a/svx/source/accessibility/DescriptionGenerator.cxx +++ b/svx/source/accessibility/DescriptionGenerator.cxx @@ -44,7 +44,7 @@ #include #include #include -#include +#include #include #include diff --git a/svx/source/accessibility/GraphCtlAccessibleContext.cxx b/svx/source/accessibility/GraphCtlAccessibleContext.cxx index 2a6a05c342..8abc8322e7 100644 --- a/svx/source/accessibility/GraphCtlAccessibleContext.cxx +++ b/svx/source/accessibility/GraphCtlAccessibleContext.cxx @@ -63,7 +63,6 @@ //===== namespaces =========================================================== -using namespace ::vos; using namespace ::cppu; using namespace ::osl; using ::rtl::OUString; @@ -118,7 +117,7 @@ SvxGraphCtrlAccessibleContext::SvxGraphCtrlAccessibleContext( } else { - SolarMutexGuard aSolarGuard; + ::SolarMutexGuard aSolarGuard; msName = SVX_RESSTR( RID_SVXSTR_GRAPHCTRL_ACC_NAME ); } @@ -128,7 +127,7 @@ SvxGraphCtrlAccessibleContext::SvxGraphCtrlAccessibleContext( } else { - SolarMutexGuard aSolarGuard; + ::SolarMutexGuard aSolarGuard; msDescription = SVX_RESSTR( RID_SVXSTR_GRAPHCTRL_ACC_DESCRIPTION ); } @@ -288,7 +287,7 @@ awt::Size SAL_CALL SvxGraphCtrlAccessibleContext::getSize() throw( RuntimeExcept sal_Int32 SAL_CALL SvxGraphCtrlAccessibleContext::getAccessibleChildCount( void ) throw( RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( NULL == mpPage ) throw DisposedException(); @@ -302,7 +301,7 @@ sal_Int32 SAL_CALL SvxGraphCtrlAccessibleContext::getAccessibleChildCount( void SdrObject* SvxGraphCtrlAccessibleContext::getSdrObject( sal_Int32 nIndex ) throw( RuntimeException, lang::IndexOutOfBoundsException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( NULL == mpPage ) throw DisposedException(); @@ -342,7 +341,7 @@ void SvxGraphCtrlAccessibleContext::FireEvent (const AccessibleEventObject& aEve Reference< XAccessible > SAL_CALL SvxGraphCtrlAccessibleContext::getAccessibleChild( sal_Int32 nIndex ) throw( RuntimeException, lang::IndexOutOfBoundsException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; return getAccessible( getSdrObject( nIndex ) ); } @@ -358,7 +357,7 @@ Reference< XAccessible > SAL_CALL SvxGraphCtrlAccessibleContext::getAccessiblePa sal_Int32 SAL_CALL SvxGraphCtrlAccessibleContext::getAccessibleIndexInParent( void ) throw( RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; // Use a simple but slow solution for now. Optimize later. // Iterate over all the parent's children and search for this object. @@ -397,7 +396,7 @@ sal_Int16 SAL_CALL SvxGraphCtrlAccessibleContext::getAccessibleRole( void ) thro OUString SAL_CALL SvxGraphCtrlAccessibleContext::getAccessibleDescription( void ) throw( RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; return msDescription; } @@ -405,7 +404,7 @@ OUString SAL_CALL SvxGraphCtrlAccessibleContext::getAccessibleDescription( void OUString SAL_CALL SvxGraphCtrlAccessibleContext::getAccessibleName( void ) throw( RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; return msName; } @@ -423,7 +422,7 @@ Reference< XAccessibleRelationSet > SAL_CALL SvxGraphCtrlAccessibleContext::getA Reference< XAccessibleStateSet > SAL_CALL SvxGraphCtrlAccessibleContext::getAccessibleStateSet( void ) throw( RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; utl::AccessibleStateSetHelper* pStateSetHelper = new utl::AccessibleStateSetHelper; @@ -450,7 +449,7 @@ Reference< XAccessibleStateSet > SAL_CALL SvxGraphCtrlAccessibleContext::getAcce lang::Locale SAL_CALL SvxGraphCtrlAccessibleContext::getLocale( void ) throw( IllegalAccessibleComponentStateException, RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( mxParent.is() ) { @@ -470,7 +469,7 @@ void SAL_CALL SvxGraphCtrlAccessibleContext::addEventListener( const Reference< { if (xListener.is()) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if (!mnClientId) mnClientId = comphelper::AccessibleEventNotifier::registerClient( ); comphelper::AccessibleEventNotifier::addEventListener( mnClientId, xListener ); @@ -484,7 +483,7 @@ void SAL_CALL SvxGraphCtrlAccessibleContext::removeEventListener( const Referenc { if (xListener.is()) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; sal_Int32 nListenerCount = comphelper::AccessibleEventNotifier::removeEventListener( mnClientId, xListener ); if ( !nListenerCount ) @@ -504,7 +503,7 @@ void SAL_CALL SvxGraphCtrlAccessibleContext::removeEventListener( const Referenc void SAL_CALL SvxGraphCtrlAccessibleContext::addFocusListener( const Reference< awt::XFocusListener >& xListener ) throw( RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( xListener.is() ) { @@ -519,7 +518,7 @@ void SAL_CALL SvxGraphCtrlAccessibleContext::addFocusListener( const Reference< void SAL_CALL SvxGraphCtrlAccessibleContext::removeFocusListener( const Reference< awt::XFocusListener >& xListener ) throw (RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( xListener.is() ) { @@ -533,7 +532,7 @@ void SAL_CALL SvxGraphCtrlAccessibleContext::removeFocusListener( const Referenc void SAL_CALL SvxGraphCtrlAccessibleContext::grabFocus() throw( RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( NULL == mpControl ) throw DisposedException(); @@ -583,7 +582,7 @@ OUString SAL_CALL SvxGraphCtrlAccessibleContext::getImplementationName( void ) t sal_Bool SAL_CALL SvxGraphCtrlAccessibleContext::supportsService( const OUString& sServiceName ) throw( RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; // Iterate over all supported service names and return true if on of them // matches the given name. Sequence< OUString > aSupportedServices( getSupportedServiceNames() ); @@ -615,7 +614,7 @@ Sequence< OUString > SAL_CALL SvxGraphCtrlAccessibleContext::getSupportedService Sequence SAL_CALL SvxGraphCtrlAccessibleContext::getImplementationId( void ) throw( RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; return getUniqueId(); } @@ -630,7 +629,7 @@ OUString SvxGraphCtrlAccessibleContext::getServiceName( void ) throw( RuntimeExc void SAL_CALL SvxGraphCtrlAccessibleContext::selectAccessibleChild( sal_Int32 nIndex ) throw( lang::IndexOutOfBoundsException, RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( NULL == mpView ) throw DisposedException(); @@ -645,7 +644,7 @@ void SAL_CALL SvxGraphCtrlAccessibleContext::selectAccessibleChild( sal_Int32 nI sal_Bool SAL_CALL SvxGraphCtrlAccessibleContext::isAccessibleChildSelected( sal_Int32 nIndex ) throw( lang::IndexOutOfBoundsException, RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( NULL == mpView ) throw DisposedException(); @@ -657,7 +656,7 @@ sal_Bool SAL_CALL SvxGraphCtrlAccessibleContext::isAccessibleChildSelected( sal_ void SAL_CALL SvxGraphCtrlAccessibleContext::clearAccessibleSelection() throw( RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( NULL == mpView ) throw DisposedException(); @@ -669,7 +668,7 @@ void SAL_CALL SvxGraphCtrlAccessibleContext::clearAccessibleSelection() throw( R void SAL_CALL SvxGraphCtrlAccessibleContext::selectAllAccessibleChildren() throw( RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( NULL == mpView ) throw DisposedException(); @@ -681,7 +680,7 @@ void SAL_CALL SvxGraphCtrlAccessibleContext::selectAllAccessibleChildren() throw sal_Int32 SAL_CALL SvxGraphCtrlAccessibleContext::getSelectedAccessibleChildCount() throw( RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( NULL == mpView ) throw DisposedException(); @@ -695,7 +694,7 @@ sal_Int32 SAL_CALL SvxGraphCtrlAccessibleContext::getSelectedAccessibleChildCoun Reference< XAccessible > SAL_CALL SvxGraphCtrlAccessibleContext::getSelectedAccessibleChild( sal_Int32 nIndex ) throw( lang::IndexOutOfBoundsException, RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; checkChildIndexOnSelection( nIndex ); @@ -713,7 +712,7 @@ Reference< XAccessible > SAL_CALL SvxGraphCtrlAccessibleContext::getSelectedAcce void SAL_CALL SvxGraphCtrlAccessibleContext::deselectAccessibleChild( sal_Int32 nIndex ) throw( lang::IndexOutOfBoundsException, RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; checkChildIndexOnSelection( nIndex ); @@ -760,7 +759,7 @@ void SvxGraphCtrlAccessibleContext::checkChildIndexOnSelection( long nIndex ) th void SvxGraphCtrlAccessibleContext::setName( const OUString& rName ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; msName = rName; } @@ -769,7 +768,7 @@ void SvxGraphCtrlAccessibleContext::setName( const OUString& rName ) void SvxGraphCtrlAccessibleContext::setDescription( const OUString& rDescr ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; msDescription = rDescr; } @@ -784,7 +783,7 @@ void SvxGraphCtrlAccessibleContext::setModelAndView ( SdrModel* pModel, SdrView* pView) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; mpModel = pModel; if (mpModel != NULL) @@ -811,7 +810,7 @@ void SvxGraphCtrlAccessibleContext::setModelAndView ( void SAL_CALL SvxGraphCtrlAccessibleContext::disposing() { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( mbDisposed ) return; @@ -850,7 +849,7 @@ void SAL_CALL SvxGraphCtrlAccessibleContext::disposing() Rectangle SvxGraphCtrlAccessibleContext::GetBoundingBoxOnScreen( void ) throw( RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( NULL == mpControl ) throw DisposedException(); @@ -869,7 +868,7 @@ Rectangle SvxGraphCtrlAccessibleContext::GetBoundingBoxOnScreen( void ) throw( R */ Rectangle SvxGraphCtrlAccessibleContext::GetBoundingBox( void ) throw( RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; Rectangle aBounds ( 0, 0, 0, 0 ); @@ -898,7 +897,7 @@ Sequence< sal_Int8 > SvxGraphCtrlAccessibleContext::getUniqueId( void ) static OImplementationId* pId = 0; if( !pId ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( !pId) { static OImplementationId aId; diff --git a/svx/source/accessibility/ShapeTypeHandler.cxx b/svx/source/accessibility/ShapeTypeHandler.cxx index 06d391b7db..f26e55b1bf 100644 --- a/svx/source/accessibility/ShapeTypeHandler.cxx +++ b/svx/source/accessibility/ShapeTypeHandler.cxx @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include #include #include "svdstr.hrc" diff --git a/svx/source/accessibility/svxrectctaccessiblecontext.cxx b/svx/source/accessibility/svxrectctaccessiblecontext.cxx index 69c3cb99cc..2b02a99cf4 100644 --- a/svx/source/accessibility/svxrectctaccessiblecontext.cxx +++ b/svx/source/accessibility/svxrectctaccessiblecontext.cxx @@ -167,7 +167,7 @@ SvxRectCtlAccessibleContext::SvxRectCtlAccessibleContext( msName = *pName; else { - SolarMutexGuard aSolarGuard; + ::SolarMutexGuard aSolarGuard; msName = SVX_RESSTR( mbAngleMode? RID_SVXSTR_RECTCTL_ACC_ANGL_NAME : RID_SVXSTR_RECTCTL_ACC_CORN_NAME ); } @@ -175,7 +175,7 @@ SvxRectCtlAccessibleContext::SvxRectCtlAccessibleContext( msDescription = *pDesc; else { - SolarMutexGuard aSolarGuard; + ::SolarMutexGuard aSolarGuard; msDescription = SVX_RESSTR( mbAngleMode? RID_SVXSTR_RECTCTL_ACC_ANGL_DESCR : RID_SVXSTR_RECTCTL_ACC_CORN_DESCR ); } @@ -292,7 +292,7 @@ Reference< XAccessible > SAL_CALL SvxRectCtlAccessibleContext::getAccessibleChil Reference< XAccessible > xChild = mpChilds[ nIndex ]; if( !xChild.is() ) { - SolarMutexGuard aSolarGuard; + ::SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -486,7 +486,7 @@ void SAL_CALL SvxRectCtlAccessibleContext::removeFocusListener( const Reference< void SAL_CALL SvxRectCtlAccessibleContext::grabFocus() throw( RuntimeException ) { - SolarMutexGuard aSolarGuard; + ::SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); ThrowExceptionIfNotAlive(); @@ -503,7 +503,7 @@ Any SAL_CALL SvxRectCtlAccessibleContext::getAccessibleKeyBinding() throw( Runti sal_Int32 SvxRectCtlAccessibleContext::getForeground( ) throw (::com::sun::star::uno::RuntimeException) { - SolarMutexGuard aSolarGuard; + ::SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); ThrowExceptionIfNotAlive(); @@ -512,7 +512,7 @@ sal_Int32 SvxRectCtlAccessibleContext::getForeground( ) sal_Int32 SvxRectCtlAccessibleContext::getBackground( ) throw (::com::sun::star::uno::RuntimeException) { - SolarMutexGuard aSolarGuard; + ::SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); ThrowExceptionIfNotAlive(); @@ -561,7 +561,7 @@ Sequence< sal_Int8 > SAL_CALL SvxRectCtlAccessibleContext::getImplementationId( void SAL_CALL SvxRectCtlAccessibleContext::selectAccessibleChild( sal_Int32 nIndex ) throw( lang::IndexOutOfBoundsException, RuntimeException ) { - SolarMutexGuard aSolarGuard; + ::SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -756,7 +756,7 @@ void SAL_CALL SvxRectCtlAccessibleContext::disposing() Rectangle SvxRectCtlAccessibleContext::GetBoundingBoxOnScreen( void ) throw( RuntimeException ) { - SolarMutexGuard aSolarGuard; + ::SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); ThrowExceptionIfNotAlive(); @@ -766,7 +766,7 @@ Rectangle SvxRectCtlAccessibleContext::GetBoundingBoxOnScreen( void ) throw( Run Rectangle SvxRectCtlAccessibleContext::GetBoundingBox( void ) throw( RuntimeException ) { - SolarMutexGuard aSolarGuard; + ::SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); ThrowExceptionIfNotAlive(); @@ -922,7 +922,7 @@ Any SAL_CALL SvxRectCtlChildAccessibleContext::getAccessibleKeyBinding() throw( sal_Int32 SvxRectCtlChildAccessibleContext::getForeground( ) throw (::com::sun::star::uno::RuntimeException) { - SolarMutexGuard aSolarGuard; + ::SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( maMutex ); ThrowExceptionIfNotAlive(); return mrParentWindow.GetControlForeground().GetColor(); @@ -930,7 +930,7 @@ sal_Int32 SvxRectCtlChildAccessibleContext::getForeground( ) sal_Int32 SvxRectCtlChildAccessibleContext::getBackground( ) throw (::com::sun::star::uno::RuntimeException) { - SolarMutexGuard aSolarGuard; + ::SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( maMutex ); ThrowExceptionIfNotAlive(); diff --git a/svx/source/customshapes/tbxcustomshapes.cxx b/svx/source/customshapes/tbxcustomshapes.cxx index 619a82ffa0..36854b1501 100644 --- a/svx/source/customshapes/tbxcustomshapes.cxx +++ b/svx/source/customshapes/tbxcustomshapes.cxx @@ -38,7 +38,7 @@ #include #include #include -#include +#include #include #include diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx index 0b66d62a16..67de10233f 100644 --- a/svx/source/dialog/docrecovery.cxx +++ b/svx/source/dialog/docrecovery.cxx @@ -99,7 +99,7 @@ void TabDialog4Recovery::addTabPage(IExtendedTabPage* pPage) //=============================================== short TabDialog4Recovery::Execute() { - SolarMutexGuard aLock; + ::SolarMutexGuard aLock; Show(); m_pActualPage = m_lTabPages.begin(); @@ -807,7 +807,7 @@ IMPL_LINK( SaveDialog, OKButtonHdl, void*, EMPTYARG ) //=============================================== short SaveDialog::execute() { - SolarMutexGuard aLock; + ::SolarMutexGuard aLock; // wait for user input "OK" m_nResult = DLG_RET_UNKNOWN; @@ -858,7 +858,7 @@ SaveProgressDialog::~SaveProgressDialog() //=============================================== short SaveProgressDialog::Execute() { - SolarMutexGuard aLock; + ::SolarMutexGuard aLock; m_pCore->setProgressHandler(m_xProgress); m_pCore->setUpdateListener(this); @@ -1121,7 +1121,7 @@ RecoveryDialog::~RecoveryDialog() //=============================================== short RecoveryDialog::execute() { - SolarMutexGuard aSolarLock; + ::SolarMutexGuard aSolarLock; switch(m_eRecoveryState) { @@ -1658,7 +1658,7 @@ void BrokenRecoveryDialog::impl_askForSavePath() short ErrorRepWelcomeDialog::execute() { - SolarMutexGuard aLock; + ::SolarMutexGuard aLock; Show(); m_nResult = DLG_RET_UNKNOWN; while(m_nResult == DLG_RET_UNKNOWN) @@ -1768,7 +1768,7 @@ void BrokenRecoveryDialog::impl_askForSavePath() short ErrorRepSendDialog::execute() { - SolarMutexGuard aLock; + ::SolarMutexGuard aLock; Show(); m_nResult = DLG_RET_UNKNOWN; while(m_nResult == DLG_RET_UNKNOWN) diff --git a/svx/source/fmcomp/trace.cxx b/svx/source/fmcomp/trace.cxx index c6c33095c5..33114c8071 100644 --- a/svx/source/fmcomp/trace.cxx +++ b/svx/source/fmcomp/trace.cxx @@ -36,7 +36,7 @@ //============================================================================== //------------------------------------------------------------------------------ -::vos::OMutex Tracer::s_aMapSafety; +::osl::Mutex Tracer::s_aMapSafety; ::std::map< ::oslThreadIdentifier, INT32, ::std::less< ::osl::ThreadIdentifier > > Tracer::s_aThreadIndents; @@ -44,7 +44,7 @@ Tracer::Tracer(const char* _pBlockDescription) :m_sBlockDescription(_pBlockDescription) { - ::vos::OGuard aGuard(s_aMapSafety); + ::osl::MutexGuard aGuard(s_aMapSafety); INT32 nIndent = s_aThreadIndents[ ::osl::Thread::getCurrentIdentifier() ]++; ByteString sIndent; @@ -64,7 +64,7 @@ Tracer::Tracer(const char* _pBlockDescription) //------------------------------------------------------------------------------ Tracer::~Tracer() { - ::vos::OGuard aGuard(s_aMapSafety); + ::osl::MutexGuard aGuard(s_aMapSafety); INT32 nIndent = --s_aThreadIndents[ ::osl::Thread::getCurrentIdentifier() ]; ByteString sIndent; @@ -84,7 +84,7 @@ Tracer::~Tracer() //------------------------------------------------------------------------------ void Tracer::TraceString(const char* _pMessage) { - ::vos::OGuard aGuard(s_aMapSafety); + ::osl::MutexGuard aGuard(s_aMapSafety); INT32 nIndent = s_aThreadIndents[ ::osl::Thread::getCurrentIdentifier() ]; ByteString sIndent; @@ -105,7 +105,7 @@ void Tracer::TraceString(const char* _pMessage) //------------------------------------------------------------------------------ void Tracer::TraceString1StringParam(const char* _pMessage, const char* _pParam) { - ::vos::OGuard aGuard(s_aMapSafety); + ::osl::MutexGuard aGuard(s_aMapSafety); INT32 nIndent = s_aThreadIndents[ ::osl::Thread::getCurrentIdentifier() ]; ByteString sIndent; diff --git a/svx/source/form/ParseContext.cxx b/svx/source/form/ParseContext.cxx index 7e12e5367d..d49d9bb36b 100644 --- a/svx/source/form/ParseContext.cxx +++ b/svx/source/form/ParseContext.cxx @@ -39,7 +39,7 @@ #include #include #include -#include +#include using namespace svxform; using namespace ::connectivity; diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx index 6bc003b72e..af6f46aa95 100644 --- a/svx/source/form/fmscriptingenv.cxx +++ b/svx/source/form/fmscriptingenv.cxx @@ -46,7 +46,7 @@ #include #include #include -#include +#include #include #include diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index 7da82f9789..743c735869 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -112,7 +112,7 @@ #include #include #include -#include +#include #include #include @@ -865,7 +865,7 @@ void SAL_CALL FmXFormShell::propertyChange(const PropertyChangeEvent& evt) throw // (Solche Paints passieren zum Beispiel, wenn man einfach nur eine andere Applikation ueber das Office legt und wieder // zurueckschaltet). // Deshalb die Benutzung des SolarMutex, der sichert das ab. - ::vos::IMutex& rSolarSafety = Application::GetSolarMutex(); + ::osl::SolarMutex& rSolarSafety = Application::GetSolarMutex(); if (rSolarSafety.tryToAcquire()) { m_pShell->GetViewShell()->GetViewFrame()->GetBindings().Invalidate(SID_FM_RECORD_TOTAL , sal_True, sal_False); diff --git a/svx/source/form/fmtextcontrolshell.cxx b/svx/source/form/fmtextcontrolshell.cxx index b8af6a5b8a..e66820a11b 100644 --- a/svx/source/form/fmtextcontrolshell.cxx +++ b/svx/source/form/fmtextcontrolshell.cxx @@ -74,7 +74,7 @@ #include #include #include -#include +#include #include diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx index a4359aa917..0fdd52ae5b 100644 --- a/svx/source/form/fmundo.cxx +++ b/svx/source/form/fmundo.cxx @@ -64,7 +64,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index 67d6f13acc..c4d0f36f1f 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -94,7 +94,7 @@ #include #include #include -#include +#include #include #include diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index df85fa9649..cb65e17ad1 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -90,7 +90,7 @@ #include #include #include -#include +#include #include #include diff --git a/svx/source/gengal/gengal.cxx b/svx/source/gengal/gengal.cxx index 7bdb1caed4..13fe12a16d 100644 --- a/svx/source/gengal/gengal.cxx +++ b/svx/source/gengal/gengal.cxx @@ -71,7 +71,6 @@ #include #include -using namespace ::vos; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::registry; using namespace ::com::sun::star::lang; diff --git a/svx/source/inc/GraphCtlAccessibleContext.hxx b/svx/source/inc/GraphCtlAccessibleContext.hxx index b6c4383992..0eb4608eba 100644 --- a/svx/source/inc/GraphCtlAccessibleContext.hxx +++ b/svx/source/inc/GraphCtlAccessibleContext.hxx @@ -43,7 +43,7 @@ #include #include #include -#include +#include #include #include diff --git a/svx/source/inc/charmapacc.hxx b/svx/source/inc/charmapacc.hxx index 0a21bb5bc5..0994ee2b05 100644 --- a/svx/source/inc/charmapacc.hxx +++ b/svx/source/inc/charmapacc.hxx @@ -25,7 +25,7 @@ * ************************************************************************/ -#include +#include #include #include #include diff --git a/svx/source/inc/svxrectctaccessiblecontext.hxx b/svx/source/inc/svxrectctaccessiblecontext.hxx index 205b2d8ad8..4be3ed179a 100644 --- a/svx/source/inc/svxrectctaccessiblecontext.hxx +++ b/svx/source/inc/svxrectctaccessiblecontext.hxx @@ -44,7 +44,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/svx/source/inc/trace.hxx b/svx/source/inc/trace.hxx index 9aeccdb97a..5f7489cb02 100644 --- a/svx/source/inc/trace.hxx +++ b/svx/source/inc/trace.hxx @@ -31,7 +31,7 @@ #include #include -#include +#include #include @@ -42,7 +42,7 @@ class Tracer DECLARE_STL_STDKEY_MAP( ::oslThreadIdentifier, sal_Int32, MapThreadId2Int ); static MapThreadId2Int s_aThreadIndents; - static ::vos::OMutex s_aMapSafety; + static ::osl::Mutex s_aMapSafety; public: Tracer(const char* _pBlockDescription); diff --git a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx index 75cfef14a6..e08e934517 100644 --- a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx @@ -61,7 +61,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/svx/source/smarttags/SmartTagMgr.cxx b/svx/source/smarttags/SmartTagMgr.cxx index 58c4badf01..8b309a0d39 100644 --- a/svx/source/smarttags/SmartTagMgr.cxx +++ b/svx/source/smarttags/SmartTagMgr.cxx @@ -32,7 +32,7 @@ #include "precompiled_svx.hxx" #include -#include +#include #include #include #include diff --git a/svx/source/svdraw/sdrpagewindow.cxx b/svx/source/svdraw/sdrpagewindow.cxx index 51947aded9..c3f8a2e2bd 100644 --- a/svx/source/svdraw/sdrpagewindow.cxx +++ b/svx/source/svdraw/sdrpagewindow.cxx @@ -43,7 +43,7 @@ #include #include #include -#include +#include #include #include diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx index 5c48b65df8..a048ab53e7 100644 --- a/svx/source/svdraw/svdoole2.cxx +++ b/svx/source/svdraw/svdoole2.cxx @@ -73,7 +73,7 @@ #include #include -#include +#include #include #include diff --git a/svx/source/table/accessibletableshape.cxx b/svx/source/table/accessibletableshape.cxx index 8669b91261..d563e0ca55 100644 --- a/svx/source/table/accessibletableshape.cxx +++ b/svx/source/table/accessibletableshape.cxx @@ -34,7 +34,7 @@ #include #include -#include +#include #include #include diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index 061c8e4f17..0030b622d3 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -39,7 +39,7 @@ #include #include -#include +#include #include #include "svx/sdr/properties/textproperties.hxx" @@ -66,7 +66,6 @@ // ----------------------------------------------------------------------------- using ::rtl::OUString; -using ::vos::OGuard; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::lang; @@ -994,7 +993,7 @@ Reference< XPropertySetInfo > SAL_CALL Cell::getPropertySetInfo() throw(RuntimeE void SAL_CALL Cell::setPropertyValue( const OUString& rPropertyName, const Any& rValue ) throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( (mpProperties == 0) || (GetModel() == 0) ) throw DisposedException(); @@ -1139,7 +1138,7 @@ void SAL_CALL Cell::setPropertyValue( const OUString& rPropertyName, const Any& Any SAL_CALL Cell::getPropertyValue( const OUString& PropertyName ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( (mpProperties == 0) || (GetModel() == 0) ) throw DisposedException(); @@ -1255,7 +1254,7 @@ void SAL_CALL Cell::removeVetoableChangeListener( const OUString& /*PropertyName void SAL_CALL Cell::setPropertyValues( const Sequence< OUString >& aPropertyNames, const Sequence< Any >& aValues ) throw (PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException) { - SolarMutexGuard aSolarGuard; + ::SolarMutexGuard aSolarGuard; if( (mpProperties == 0) || (GetModel() == 0) ) throw DisposedException(); @@ -1286,7 +1285,7 @@ void SAL_CALL Cell::setPropertyValues( const Sequence< OUString >& aPropertyName Sequence< Any > SAL_CALL Cell::getPropertyValues( const Sequence< OUString >& aPropertyNames ) throw (RuntimeException) { - SolarMutexGuard aSolarGuard; + ::SolarMutexGuard aSolarGuard; if( (mpProperties == 0) || (GetModel() == 0) ) throw DisposedException(); @@ -1340,7 +1339,7 @@ void SAL_CALL Cell::firePropertiesChangeEvent( const Sequence< OUString >& /*aPr PropertyState SAL_CALL Cell::getPropertyState( const OUString& PropertyName ) throw(UnknownPropertyException, RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( (mpProperties == 0) || (GetModel() == 0) ) throw DisposedException(); @@ -1452,7 +1451,7 @@ PropertyState SAL_CALL Cell::getPropertyState( const OUString& PropertyName ) th Sequence< PropertyState > SAL_CALL Cell::getPropertyStates( const Sequence< OUString >& aPropertyName ) throw(UnknownPropertyException, RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( (mpProperties == 0) || (GetModel() == 0) ) throw DisposedException(); @@ -1483,7 +1482,7 @@ Sequence< PropertyState > SAL_CALL Cell::getPropertyStates( const Sequence< OUSt void SAL_CALL Cell::setPropertyToDefault( const OUString& PropertyName ) throw(UnknownPropertyException, RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( (mpProperties == 0) || (GetModel() == 0) ) throw DisposedException(); @@ -1526,7 +1525,7 @@ void SAL_CALL Cell::setPropertyToDefault( const OUString& PropertyName ) throw(U Any SAL_CALL Cell::getPropertyDefault( const OUString& aPropertyName ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( (mpProperties == 0) || (GetModel() == 0) ) throw DisposedException(); diff --git a/svx/source/table/celleditsource.cxx b/svx/source/table/celleditsource.cxx index 6de9d376e2..3ee05610b9 100644 --- a/svx/source/table/celleditsource.cxx +++ b/svx/source/table/celleditsource.cxx @@ -33,7 +33,7 @@ #include #include -#include +#include #include #include #include @@ -62,7 +62,6 @@ using ::rtl::OUString; using namespace ::osl; -using namespace ::vos; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::linguistic2; @@ -939,7 +938,7 @@ CellEditSource::CellEditSource( CellEditSourceImpl* pImpl ) //------------------------------------------------------------------------ CellEditSource::~CellEditSource() { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; mpImpl->release(); } diff --git a/svx/source/table/tabledesign.cxx b/svx/source/table/tabledesign.cxx index 170cc7b6c4..32627b812a 100644 --- a/svx/source/table/tabledesign.cxx +++ b/svx/source/table/tabledesign.cxx @@ -41,7 +41,7 @@ #include #include -#include +#include #include #include @@ -71,7 +71,6 @@ using namespace ::com::sun::star::util; using namespace ::com::sun::star::container; using ::rtl::OUString; -using ::vos::OGuard; using ::osl::MutexGuard; using ::osl::ClearableMutexGuard; using ::cppu::OInterfaceContainerHelper; diff --git a/svx/source/table/tablemodel.cxx b/svx/source/table/tablemodel.cxx index fa76fc37e4..baa1c0269b 100644 --- a/svx/source/table/tablemodel.cxx +++ b/svx/source/table/tablemodel.cxx @@ -35,7 +35,7 @@ #include #include -#include +#include #include "cell.hxx" #include "cellcursor.hxx" @@ -54,7 +54,6 @@ using ::rtl::OUString; using namespace ::osl; -using namespace ::vos; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::table; using namespace ::com::sun::star::lang; @@ -316,7 +315,7 @@ void TableModel::UndoRemoveColumns( sal_Int32 nIndex, ColumnVector& aCols, CellV Reference< XCellCursor > SAL_CALL TableModel::createCursor() throw (RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; return createCursorByRange( Reference< XCellRange >( this ) ); } @@ -324,7 +323,7 @@ Reference< XCellCursor > SAL_CALL TableModel::createCursor() throw (RuntimeExcep Reference< XCellCursor > SAL_CALL TableModel::createCursorByRange( const Reference< XCellRange >& Range ) throw (IllegalArgumentException, RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; ICellRange* pRange = dynamic_cast< ICellRange* >( Range.get() ); if( (pRange == 0) || (pRange->getTable().get() != this) ) @@ -338,7 +337,7 @@ Reference< XCellCursor > SAL_CALL TableModel::createCursorByRange( const Referen sal_Int32 SAL_CALL TableModel::getRowCount() throw (RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; return getRowCountImpl(); } @@ -346,7 +345,7 @@ sal_Int32 SAL_CALL TableModel::getRowCount() throw (RuntimeException) sal_Int32 SAL_CALL TableModel::getColumnCount() throw (RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; return getColumnCountImpl(); } @@ -356,7 +355,7 @@ sal_Int32 SAL_CALL TableModel::getColumnCount() throw (RuntimeException) void TableModel::dispose() throw (RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; TableModelBase::dispose(); } @@ -380,7 +379,7 @@ void SAL_CALL TableModel::removeEventListener( const Reference< XEventListener > sal_Bool SAL_CALL TableModel::isModified( ) throw (RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; return mbModified; } @@ -389,7 +388,7 @@ sal_Bool SAL_CALL TableModel::isModified( ) throw (RuntimeException) void SAL_CALL TableModel::setModified( sal_Bool bModified ) throw (PropertyVetoException, RuntimeException) { { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; mbModified = bModified; } if( bModified ) @@ -418,7 +417,7 @@ void SAL_CALL TableModel::removeModifyListener( const Reference< XModifyListener Reference< XTableColumns > SAL_CALL TableModel::getColumns() throw (RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( !mxTableColumns.is() ) mxTableColumns.set( new TableColumns( this ) ); @@ -429,7 +428,7 @@ Reference< XTableColumns > SAL_CALL TableModel::getColumns() throw (RuntimeExcep Reference< XTableRows > SAL_CALL TableModel::getRows() throw (RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( !mxTableRows.is() ) mxTableRows.set( new TableRows( this ) ); @@ -442,7 +441,7 @@ Reference< XTableRows > SAL_CALL TableModel::getRows() throw (RuntimeException) Reference< XCell > SAL_CALL TableModel::getCellByPosition( sal_Int32 nColumn, sal_Int32 nRow ) throw ( IndexOutOfBoundsException, RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; CellRef xCell( getCell( nColumn, nRow ) ); if( xCell.is() ) @@ -455,7 +454,7 @@ Reference< XCell > SAL_CALL TableModel::getCellByPosition( sal_Int32 nColumn, sa Reference< XCellRange > SAL_CALL TableModel::getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom ) throw (IndexOutOfBoundsException, RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( (nLeft >= 0) && (nTop >= 0) && (nRight >= nLeft) && (nBottom >= nTop) && (nRight < getColumnCountImpl()) && (nBottom < getRowCountImpl() ) ) { @@ -593,14 +592,14 @@ void TableModel::disposing() void TableModel::lockBroadcasts() throw (RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; ++mnNotifyLock; } // ----------------------------------------------------------------------------- void TableModel::unlockBroadcasts() throw (RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; --mnNotifyLock; if( mnNotifyLock <= 0 ) { diff --git a/svx/source/tbxctrls/extrusioncontrols.cxx b/svx/source/tbxctrls/extrusioncontrols.cxx index 484529de98..72958e2cc0 100644 --- a/svx/source/tbxctrls/extrusioncontrols.cxx +++ b/svx/source/tbxctrls/extrusioncontrols.cxx @@ -36,7 +36,7 @@ #include #include -#include +#include #include #include diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx index bf262e3959..7b08c78030 100644 --- a/svx/source/tbxctrls/tbunocontroller.cxx +++ b/svx/source/tbxctrls/tbunocontroller.cxx @@ -40,7 +40,7 @@ #include #include #include -#include +#include #include diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx index 5772ec09a6..145a2ef3fd 100644 --- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx +++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx @@ -41,7 +41,7 @@ #include #include #include -#include +#include namespace svx { diff --git a/svx/source/tbxctrls/tbxalign.cxx b/svx/source/tbxctrls/tbxalign.cxx index 44a1ecf0bf..f35550d21b 100644 --- a/svx/source/tbxctrls/tbxalign.cxx +++ b/svx/source/tbxctrls/tbxalign.cxx @@ -39,7 +39,7 @@ #include #include #include -#include +#include #include #include diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx index e9a0be190b..ce24a3af25 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx @@ -32,7 +32,7 @@ #include "chinese_translation_unodialog.hxx" #include "chinese_translationdialog.hxx" #include -#include +#include // header for class Application #include #include diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx index 06e28bee33..946aaa1a75 100644 --- a/svx/source/unodraw/UnoGraphicExporter.cxx +++ b/svx/source/unodraw/UnoGraphicExporter.cxx @@ -30,7 +30,7 @@ #include "precompiled_svx.hxx" #include -#include +#include #include #include #include @@ -85,7 +85,6 @@ using namespace ::comphelper; using namespace ::osl; -using namespace ::vos; using ::rtl::OUString; using namespace ::cppu; using namespace ::com::sun::star; @@ -1000,7 +999,7 @@ bool GraphicExporter::GetGraphic( ExportSettings& rSettings, Graphic& aGraphic, sal_Bool SAL_CALL GraphicExporter::filter( const Sequence< PropertyValue >& aDescriptor ) throw(RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( NULL == mpUnoPage ) return sal_False; @@ -1091,7 +1090,7 @@ void SAL_CALL GraphicExporter::cancel() void SAL_CALL GraphicExporter::setSourceDocument( const Reference< lang::XComponent >& xComponent ) throw(IllegalArgumentException, RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; mxShapes = NULL; mpUnoPage = NULL; diff --git a/svx/source/unodraw/UnoNameItemTable.cxx b/svx/source/unodraw/UnoNameItemTable.cxx index d8c13de229..f053554873 100644 --- a/svx/source/unodraw/UnoNameItemTable.cxx +++ b/svx/source/unodraw/UnoNameItemTable.cxx @@ -37,7 +37,7 @@ #include #include "UnoNameItemTable.hxx" -#include +#include #include #include "unoapi.hxx" @@ -45,7 +45,6 @@ using namespace ::com::sun::star; using namespace ::rtl; using namespace ::cppu; -using namespace ::vos; SvxUnoNameItemTable::SvxUnoNameItemTable( SdrModel* pModel, USHORT nWhich, BYTE nMemberId ) throw() : mpModel( pModel ), diff --git a/svx/source/unodraw/XPropertyTable.cxx b/svx/source/unodraw/XPropertyTable.cxx index cd68bddf19..e2f63cce8b 100644 --- a/svx/source/unodraw/XPropertyTable.cxx +++ b/svx/source/unodraw/XPropertyTable.cxx @@ -36,7 +36,7 @@ #include #include #include -#include +#include #include #include @@ -50,7 +50,6 @@ using namespace com::sun::star; using namespace ::cppu; using namespace ::rtl; -using namespace ::vos; class SvxUnoXPropertyTable : public WeakImplHelper2< container::XNameContainer, lang::XServiceInfo > { diff --git a/svx/source/unodraw/recoveryui.cxx b/svx/source/unodraw/recoveryui.cxx index e03ff7b3b7..a08415ca2e 100644 --- a/svx/source/unodraw/recoveryui.cxx +++ b/svx/source/unodraw/recoveryui.cxx @@ -110,7 +110,7 @@ css::uno::Any SAL_CALL RecoveryUI::dispatchWithReturnValue(const css::util::URL& { // Internaly we use VCL ... every call into vcl based code must // be guarded by locking the global solar mutex. - SolarMutexGuard aSolarLock; + ::SolarMutexGuard aSolarLock; css::uno::Any aRet; RecoveryUI::EJob eJob = impl_classifyJob(aURL); diff --git a/svx/source/unodraw/unomlstr.cxx b/svx/source/unodraw/unomlstr.cxx index 00e78ff184..925d447e96 100644 --- a/svx/source/unodraw/unomlstr.cxx +++ b/svx/source/unodraw/unomlstr.cxx @@ -30,7 +30,7 @@ #include "precompiled_svx.hxx" #include // header for class OGuard -#include +#include // header for class Application #include diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx index 2d99897a7d..339ba79e41 100644 --- a/svx/source/unodraw/unomod.cxx +++ b/svx/source/unodraw/unomod.cxx @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include #include #include @@ -67,7 +67,6 @@ using namespace ::rtl; using namespace ::osl; -using namespace ::vos; using namespace ::com::sun::star; //-//////////////////////////////////////////////////////////////////// @@ -348,7 +347,7 @@ sal_Bool SAL_CALL SvxUnoDrawingModel::hasControllersLocked( ) uno::Reference< drawing::XDrawPages > SAL_CALL SvxUnoDrawingModel::getDrawPages() throw(uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; uno::Reference< drawing::XDrawPages > xDrawPages( mxDrawPagesAccess ); @@ -362,7 +361,7 @@ uno::Reference< drawing::XDrawPages > SAL_CALL SvxUnoDrawingModel::getDrawPages( uno::Reference< uno::XInterface > SAL_CALL SvxUnoDrawingModel::createInstance( const OUString& aServiceSpecifier ) throw(uno::Exception, uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( 0 == aServiceSpecifier.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.drawing.DashTable") ) ) { @@ -601,7 +600,7 @@ SvxUnoDrawPagesAccess::~SvxUnoDrawPagesAccess() throw() sal_Int32 SAL_CALL SvxUnoDrawPagesAccess::getCount() throw(uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; sal_Int32 nCount = 0; @@ -614,7 +613,7 @@ sal_Int32 SAL_CALL SvxUnoDrawPagesAccess::getCount() uno::Any SAL_CALL SvxUnoDrawPagesAccess::getByIndex( sal_Int32 Index ) throw(lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; uno::Any aAny; @@ -666,7 +665,7 @@ sal_Bool SAL_CALL SvxUnoDrawPagesAccess::hasElements() uno::Reference< drawing::XDrawPage > SAL_CALL SvxUnoDrawPagesAccess::insertNewByIndex( sal_Int32 nIndex ) throw(uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; uno::Reference< drawing::XDrawPage > xDrawPage; @@ -689,7 +688,7 @@ uno::Reference< drawing::XDrawPage > SAL_CALL SvxUnoDrawPagesAccess::insertNewBy void SAL_CALL SvxUnoDrawPagesAccess::remove( const uno::Reference< drawing::XDrawPage >& xPage ) throw(uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; sal_uInt16 nPageCount = mrModel.mpDoc->GetPageCount(); if( nPageCount > 1 ) diff --git a/svx/source/unodraw/unomtabl.cxx b/svx/source/unodraw/unomtabl.cxx index 602a167835..4f161ece78 100644 --- a/svx/source/unodraw/unomtabl.cxx +++ b/svx/source/unodraw/unomtabl.cxx @@ -47,7 +47,7 @@ #include #include -#include +#include #include @@ -58,7 +58,6 @@ using namespace ::com::sun::star; using namespace ::rtl; using namespace ::cppu; -using namespace ::vos; typedef std::vector< SfxItemSet* > ItemPoolVector; diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx index 0847f35df4..2aba85ef50 100644 --- a/svx/source/unodraw/unopage.cxx +++ b/svx/source/unodraw/unopage.cxx @@ -32,7 +32,7 @@ #define _SVX_USE_UNOGLOBALS_ #include #include -#include +#include #include #include #include @@ -61,7 +61,6 @@ #include using ::rtl::OUString; -using namespace ::vos; using namespace ::cppu; using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/svx/source/unodraw/unopool.cxx b/svx/source/unodraw/unopool.cxx index 63c3cf0cd1..bcfc40c055 100644 --- a/svx/source/unodraw/unopool.cxx +++ b/svx/source/unodraw/unopool.cxx @@ -33,7 +33,7 @@ #include #include -#include +#include #include #include "unopool.hxx" #include diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx index 2c3c1355ea..911dff21a4 100644 --- a/svx/source/unodraw/unoprov.cxx +++ b/svx/source/unodraw/unoprov.cxx @@ -45,7 +45,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx index 2bd53bd9cc..c5e4b01af8 100644 --- a/svx/source/unodraw/unoshap2.cxx +++ b/svx/source/unodraw/unoshap2.cxx @@ -43,7 +43,7 @@ #include #include #include -#include +#include #include #include @@ -75,7 +75,6 @@ using ::rtl::OUString; using namespace ::osl; -using namespace ::vos; using namespace ::cppu; using namespace ::com::sun::star; using namespace ::com::sun::star::uno; @@ -222,7 +221,7 @@ void SAL_CALL SvxShapeGroup::leaveGroup( ) throw(uno::RuntimeException) void SAL_CALL SvxShapeGroup::add( const uno::Reference< drawing::XShape >& xShape ) throw( uno::RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; SvxShape* pShape = SvxShape::getImplementation( xShape ); @@ -264,7 +263,7 @@ void SAL_CALL SvxShapeGroup::add( const uno::Reference< drawing::XShape >& xShap void SAL_CALL SvxShapeGroup::remove( const uno::Reference< drawing::XShape >& xShape ) throw( uno::RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; SdrObject* pSdrShape = NULL; SvxShape* pShape = SvxShape::getImplementation( xShape ); @@ -318,7 +317,7 @@ void SAL_CALL SvxShapeGroup::remove( const uno::Reference< drawing::XShape >& xS //---------------------------------------------------------------------- sal_Int32 SAL_CALL SvxShapeGroup::getCount() throw( uno::RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; sal_Int32 nRetval = 0; @@ -334,7 +333,7 @@ sal_Int32 SAL_CALL SvxShapeGroup::getCount() throw( uno::RuntimeException ) uno::Any SAL_CALL SvxShapeGroup::getByIndex( sal_Int32 Index ) throw( lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( !mpObj.is() || mpObj->GetSubList() == NULL ) throw uno::RuntimeException(); @@ -362,7 +361,7 @@ uno::Type SAL_CALL SvxShapeGroup::getElementType() throw( uno::RuntimeException //---------------------------------------------------------------------- sal_Bool SAL_CALL SvxShapeGroup::hasElements() throw( uno::RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; return mpObj.is() && mpObj->GetSubList() && (mpObj->GetSubList()->GetObjCount() > 0); } @@ -480,7 +479,7 @@ void SAL_CALL SvxShapeConnector::setSize( const awt::Size& rSize ) void SAL_CALL SvxShapeConnector::connectStart( const uno::Reference< drawing::XConnectableShape >& xShape, drawing::ConnectionType ) throw( uno::RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; Reference< drawing::XShape > xRef( xShape, UNO_QUERY ); SvxShape* pShape = SvxShape::getImplementation( xRef ); @@ -496,7 +495,7 @@ void SAL_CALL SvxShapeConnector::connectStart( const uno::Reference< drawing::XC void SAL_CALL SvxShapeConnector::connectEnd( const uno::Reference< drawing::XConnectableShape >& xShape, drawing::ConnectionType ) throw( uno::RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; Reference< drawing::XShape > xRef( xShape, UNO_QUERY ); SvxShape* pShape = SvxShape::getImplementation( xRef ); @@ -512,7 +511,7 @@ void SAL_CALL SvxShapeConnector::connectEnd( const uno::Reference< drawing::XCon void SAL_CALL SvxShapeConnector::disconnectBegin( const uno::Reference< drawing::XConnectableShape >& ) throw( uno::RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if(mpObj.is()) mpObj->DisconnectFromNode( sal_True ); @@ -525,7 +524,7 @@ void SAL_CALL SvxShapeConnector::disconnectBegin( const uno::Reference< drawing: void SAL_CALL SvxShapeConnector::disconnectEnd( const uno::Reference< drawing::XConnectableShape >& ) throw( uno::RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if(mpObj.is()) mpObj->DisconnectFromNode( sal_False ); @@ -648,7 +647,7 @@ void SAL_CALL SvxShapeControl::setSize( const awt::Size& rSize ) Reference< awt::XControlModel > SAL_CALL SvxShapeControl::getControl() throw( uno::RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; Reference< awt::XControlModel > xModel; @@ -663,7 +662,7 @@ Reference< awt::XControlModel > SAL_CALL SvxShapeControl::getControl() void SAL_CALL SvxShapeControl::setControl( const Reference< awt::XControlModel >& xControl ) throw( uno::RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; SdrUnoObj* pUnoObj = dynamic_cast< SdrUnoObj * >(mpObj.get()); if( pUnoObj ) @@ -1290,7 +1289,7 @@ drawing::PolygonKind SvxShapePolyPolygon::GetPolygonKind() const throw() //---------------------------------------------------------------------- void SvxShapePolyPolygon::SetPolygon(const basegfx::B2DPolyPolygon& rNew) throw() { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if(mpObj.is()) ((SdrPathObj*)mpObj.get())->SetPathPoly(rNew); @@ -1299,7 +1298,7 @@ void SvxShapePolyPolygon::SetPolygon(const basegfx::B2DPolyPolygon& rNew) throw( //---------------------------------------------------------------------- basegfx::B2DPolyPolygon SvxShapePolyPolygon::GetPolygon() const throw() { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if(mpObj.is()) { @@ -1586,7 +1585,7 @@ drawing::PolygonKind SvxShapePolyPolygonBezier::GetPolygonKind() const throw() //---------------------------------------------------------------------- void SvxShapePolyPolygonBezier::SetPolygon(const basegfx::B2DPolyPolygon& rNew) throw() { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if(mpObj.is()) static_cast(mpObj.get())->SetPathPoly(rNew); @@ -1595,7 +1594,7 @@ void SvxShapePolyPolygonBezier::SetPolygon(const basegfx::B2DPolyPolygon& rNew) //---------------------------------------------------------------------- basegfx::B2DPolyPolygon SvxShapePolyPolygonBezier::GetPolygon() const throw() { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if(mpObj.is()) { @@ -1957,7 +1956,7 @@ OUString SAL_CALL SvxCustomShape::getShapeType() //------------------------------------------------------------------1---- awt::Point SAL_CALL SvxCustomShape::getPosition() throw(uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if ( mpModel && mpObj.is() ) { SdrAShapeObjGeoData aCustomShapeGeoData; @@ -2062,7 +2061,7 @@ void SAL_CALL SvxCustomShape::setSize( const awt::Size& rSize ) void SAL_CALL SvxCustomShape::setPropertyValue( const OUString& aPropertyName, const uno::Any& aValue ) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; SdrObject* pObject = mpObj.get(); sal_Bool bCustomShapeGeometry = pObject && aPropertyName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "CustomShapeGeometry" ) ); diff --git a/svx/source/unodraw/unoshap3.cxx b/svx/source/unodraw/unoshap3.cxx index 3763be0e1b..a9be7f6cc6 100644 --- a/svx/source/unodraw/unoshap3.cxx +++ b/svx/source/unodraw/unoshap3.cxx @@ -36,7 +36,7 @@ #include #include #include -#include +#include #include #include @@ -60,7 +60,6 @@ #include using ::rtl::OUString; -using namespace ::vos; using namespace ::cppu; using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx index 14b2e50e34..f4bfea185f 100644 --- a/svx/source/unodraw/unoshap4.cxx +++ b/svx/source/unodraw/unoshap4.cxx @@ -44,7 +44,7 @@ #include #endif #include -#include +#include #include #include @@ -72,7 +72,6 @@ extern sal_Bool ConvertGDIMetaFileToWMF( const GDIMetaFile & rMTF, SvStream & rT /////////////////////////////////////////////////////////////////////// using namespace ::osl; -using namespace ::vos; using namespace ::rtl; using namespace ::cppu; using namespace ::com::sun::star; diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index cdd60e8cad..7b2477c8cb 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -38,7 +38,7 @@ #include #include #include -#include +#include #include #include #include @@ -110,7 +110,6 @@ using ::rtl::OUString; using namespace ::osl; -using namespace ::vos; using namespace ::cppu; using namespace ::com::sun::star; using namespace ::com::sun::star::uno; @@ -253,7 +252,7 @@ SvxShape::SvxShape() throw() //---------------------------------------------------------------------- SvxShape::~SvxShape() throw() { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; DBG_ASSERT( mnLockCount == 0, "Locked shape was disposed!" ); @@ -1242,7 +1241,7 @@ static void svx_setLogicRectHack( SdrObject* pObj, const Rectangle& rRect ) awt::Point SAL_CALL SvxShape::getPosition() throw(uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( mpObj.is() && mpModel) { @@ -1265,7 +1264,7 @@ awt::Point SAL_CALL SvxShape::getPosition() throw(uno::RuntimeException) //---------------------------------------------------------------------- void SAL_CALL SvxShape::setPosition( const awt::Point& Position ) throw(uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( mpObj.is() && mpModel ) { @@ -1295,7 +1294,7 @@ void SAL_CALL SvxShape::setPosition( const awt::Point& Position ) throw(uno::Run //---------------------------------------------------------------------- awt::Size SAL_CALL SvxShape::getSize() throw(uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( mpObj.is() && mpModel) { @@ -1312,7 +1311,7 @@ awt::Size SAL_CALL SvxShape::getSize() throw(uno::RuntimeException) void SAL_CALL SvxShape::setSize( const awt::Size& rSize ) throw(beans::PropertyVetoException, uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( mpObj.is() && mpModel) { @@ -1356,7 +1355,7 @@ void SAL_CALL SvxShape::setSize( const awt::Size& rSize ) // XNamed OUString SAL_CALL SvxShape::getName( ) throw(::com::sun::star::uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( mpObj.is() ) { return mpObj->GetName(); @@ -1371,7 +1370,7 @@ OUString SAL_CALL SvxShape::getName( ) throw(::com::sun::star::uno::RuntimeExce void SAL_CALL SvxShape::setName( const ::rtl::OUString& aName ) throw(::com::sun::star::uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( mpObj.is() ) { mpObj->SetName( aName ); @@ -1398,7 +1397,7 @@ OUString SAL_CALL SvxShape::getShapeType() throw(uno::RuntimeException) //---------------------------------------------------------------------- void SAL_CALL SvxShape::dispose() throw(uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( mpImpl->mbDisposing ) return; // caught a recursion @@ -1931,7 +1930,7 @@ void SAL_CALL SvxShape::setPropertyValue( const OUString& rPropertyName, const u void SAL_CALL SvxShape::_setPropertyValue( const OUString& rPropertyName, const uno::Any& rVal ) throw(beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; const SfxItemPropertySimpleEntry* pMap = mpPropSet->getPropertyMapEntry(rPropertyName); @@ -2056,7 +2055,7 @@ uno::Any SAL_CALL SvxShape::getPropertyValue( const OUString& PropertyName ) uno::Any SvxShape::_getPropertyValue( const OUString& PropertyName ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; const SfxItemPropertySimpleEntry* pMap = mpPropSet->getPropertyMapEntry(PropertyName); @@ -2115,7 +2114,7 @@ uno::Any SvxShape::_getPropertyValue( const OUString& PropertyName ) // XMultiPropertySet void SAL_CALL SvxShape::setPropertyValues( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aValues ) throw (::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) { - SolarMutexGuard aSolarGuard; + ::SolarMutexGuard aSolarGuard; const sal_Int32 nCount = aPropertyNames.getLength(); const OUString* pNames = aPropertyNames.getConstArray(); @@ -2341,7 +2340,7 @@ beans::PropertyState SAL_CALL SvxShape::getPropertyState( const OUString& Proper beans::PropertyState SAL_CALL SvxShape::_getPropertyState( const OUString& PropertyName ) throw(beans::UnknownPropertyException, uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; const SfxItemPropertySimpleEntry* pMap = mpPropSet->getPropertyMapEntry(PropertyName); @@ -3338,7 +3337,7 @@ void SAL_CALL SvxShape::setPropertyToDefault( const OUString& PropertyName ) void SAL_CALL SvxShape::_setPropertyToDefault( const OUString& PropertyName ) throw(beans::UnknownPropertyException, uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; const SfxItemPropertySimpleEntry* pProperty = mpPropSet->getPropertyMapEntry(PropertyName); @@ -3371,7 +3370,7 @@ uno::Any SAL_CALL SvxShape::getPropertyDefault( const OUString& aPropertyName ) uno::Any SAL_CALL SvxShape::_getPropertyDefault( const OUString& aPropertyName ) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; const SfxItemPropertySimpleEntry* pMap = mpPropSet->getPropertyMapEntry(aPropertyName); @@ -3397,7 +3396,7 @@ uno::Any SAL_CALL SvxShape::_getPropertyDefault( const OUString& aPropertyName ) // XMultiPropertyStates void SvxShape::setAllPropertiesToDefault() throw (uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( !mpObj.is() ) throw lang::DisposedException(); @@ -3517,7 +3516,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::getSupportedServiceNames() uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() throw(uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( mpObj.is() && mpObj->GetObjInventor() == SdrInventor) { @@ -3530,7 +3529,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_GroupServices; @@ -3550,7 +3549,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_CustomShapeServices; @@ -3581,7 +3580,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_LineServices; @@ -3616,7 +3615,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_RectServices; @@ -3653,7 +3652,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_CircServices; @@ -3690,7 +3689,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_PathServices; @@ -3725,7 +3724,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_PolyServices; @@ -3762,7 +3761,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_FreeLineServices; @@ -3801,7 +3800,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_FreeFillServices; @@ -3839,7 +3838,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_TextServices; @@ -3873,7 +3872,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_GrafServices; @@ -3905,7 +3904,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_Ole2Services; @@ -3925,7 +3924,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_CaptionServices; @@ -3961,7 +3960,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_PageServices; @@ -3982,7 +3981,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_MeasureServices; @@ -4019,7 +4018,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_FrameServices; @@ -4040,7 +4039,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard _aGuard; +// ::SolarMutexGuard _aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_UnoServices; @@ -4059,7 +4058,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_EdgeServices; @@ -4094,7 +4093,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_MediaServices; @@ -4119,7 +4118,7 @@ uno::Sequence< OUString > SAL_CALL SvxShape::_getSupportedServiceNames() static uno::Sequence< OUString > *pSeq = 0; if( 0 == pSeq ) { -// SolarMutexGuard aGuard; +// ::SolarMutexGuard aGuard; // if( 0 == pSeq ) { static uno::Sequence< OUString > SvxShape_UnoServices; @@ -4156,7 +4155,7 @@ sal_Bool SAL_CALL SvxShape::supportsService( const OUString& ServiceName ) throw uno::Reference< container::XIndexContainer > SAL_CALL SvxShape::getGluePoints() throw(uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; uno::Reference< container::XIndexContainer > xGluePoints( mxGluePoints ); if( mpObj.is() && !xGluePoints.is() ) @@ -4174,7 +4173,7 @@ uno::Reference< container::XIndexContainer > SAL_CALL SvxShape::getGluePoints() uno::Reference< uno::XInterface > SAL_CALL SvxShape::getParent( ) throw(uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( mpObj.is() && mpObj->GetObjList() ) { @@ -4228,7 +4227,7 @@ void SvxShape::unlock() // XActionLockable sal_Bool SAL_CALL SvxShape::isActionLocked( ) throw (::com::sun::star::uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; return mnLockCount != 0; } @@ -4237,7 +4236,7 @@ sal_Bool SAL_CALL SvxShape::isActionLocked( ) throw (::com::sun::star::uno::Run void SAL_CALL SvxShape::addActionLock( ) throw (::com::sun::star::uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; DBG_ASSERT( mnLockCount < 0xffff, "lock overflow in SvxShape!" ); mnLockCount++; @@ -4250,7 +4249,7 @@ void SAL_CALL SvxShape::addActionLock( ) throw (::com::sun::star::uno::RuntimeE void SAL_CALL SvxShape::removeActionLock( ) throw (::com::sun::star::uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; DBG_ASSERT( mnLockCount > 0, "lock underflow in SvxShape!" ); mnLockCount--; @@ -4263,7 +4262,7 @@ void SAL_CALL SvxShape::removeActionLock( ) throw (::com::sun::star::uno::Runti void SAL_CALL SvxShape::setActionLocks( sal_Int16 nLock ) throw (::com::sun::star::uno::RuntimeException ) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( (mnLockCount == 0) && (nLock != 0) ) unlock(); @@ -4278,7 +4277,7 @@ void SAL_CALL SvxShape::setActionLocks( sal_Int16 nLock ) throw (::com::sun::sta sal_Int16 SAL_CALL SvxShape::resetActionLocks( ) throw (::com::sun::star::uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; if( mnLockCount != 0 ) unlock(); @@ -4479,7 +4478,7 @@ void SvxShapeText::unlock() // ::com::sun::star::text::XTextRange uno::Reference< text::XTextRange > SAL_CALL SvxShapeText::getStart() throw(uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; SvxTextForwarder* pForwarder = mpEditSource ? mpEditSource->GetTextForwarder() : NULL; if( pForwarder ) ::GetSelection( maSelection, pForwarder ); @@ -4489,7 +4488,7 @@ uno::Reference< text::XTextRange > SAL_CALL SvxShapeText::getStart() throw(uno:: uno::Reference< text::XTextRange > SAL_CALL SvxShapeText::getEnd() throw(uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; SvxTextForwarder* pForwarder = mpEditSource ? mpEditSource->GetTextForwarder() : NULL; if( pForwarder ) ::GetSelection( maSelection, pForwarder ); @@ -4498,7 +4497,7 @@ uno::Reference< text::XTextRange > SAL_CALL SvxShapeText::getEnd() throw(uno::Ru OUString SAL_CALL SvxShapeText::getString() throw(uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; SvxTextForwarder* pForwarder = mpEditSource ? mpEditSource->GetTextForwarder() : NULL; if( pForwarder ) ::GetSelection( maSelection, pForwarder ); @@ -4508,7 +4507,7 @@ OUString SAL_CALL SvxShapeText::getString() throw(uno::RuntimeException) void SAL_CALL SvxShapeText::setString( const OUString& aString ) throw(uno::RuntimeException) { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; SvxTextForwarder* pForwarder = mpEditSource ? mpEditSource->GetTextForwarder() : NULL; if( pForwarder ) ::GetSelection( maSelection, pForwarder ); diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx index d9b26e2227..ae97b5b6b4 100644 --- a/svx/source/unodraw/unoshtxt.cxx +++ b/svx/source/unodraw/unoshtxt.cxx @@ -55,11 +55,10 @@ #include #include #include -#include +#include #include using namespace ::osl; -using namespace ::vos; using namespace ::rtl; using ::com::sun::star::uno::XInterface; @@ -1054,7 +1053,7 @@ SvxTextEditSource::SvxTextEditSource( SvxTextEditSourceImpl* pImpl ) //------------------------------------------------------------------------ SvxTextEditSource::~SvxTextEditSource() { - SolarMutexGuard aGuard; + ::SolarMutexGuard aGuard; mpImpl->release(); } diff --git a/svx/source/unogallery/unogalitem.cxx b/svx/source/unogallery/unogalitem.cxx index e04a3715dd..015c3c1cf4 100644 --- a/svx/source/unogallery/unogalitem.cxx +++ b/svx/source/unogallery/unogalitem.cxx @@ -35,7 +35,7 @@ #include "svx/galmisc.hxx" #include #include -#include +#include #include #include #include diff --git a/svx/source/unogallery/unogaltheme.cxx b/svx/source/unogallery/unogaltheme.cxx index 04eddd8a3c..9e5a1e8bc2 100644 --- a/svx/source/unogallery/unogaltheme.cxx +++ b/svx/source/unogallery/unogaltheme.cxx @@ -41,7 +41,7 @@ #include #include #include -#include +#include #include #include diff --git a/svx/source/unogallery/unogalthemeprovider.cxx b/svx/source/unogallery/unogalthemeprovider.cxx index df84f4c154..258dd53fae 100644 --- a/svx/source/unogallery/unogalthemeprovider.cxx +++ b/svx/source/unogallery/unogalthemeprovider.cxx @@ -33,7 +33,7 @@ #include "unogaltheme.hxx" #include "svx/gallery1.hxx" #include -#include +#include #include #include #include diff --git a/svx/workben/edittest.cxx b/svx/workben/edittest.cxx index df1b433d5b..e62282f40a 100644 --- a/svx/workben/edittest.cxx +++ b/svx/workben/edittest.cxx @@ -157,7 +157,6 @@ USHORT nZoom = 100; BOOL bURLClicked = FALSE; using namespace ::com::sun::star::connection; -using namespace ::vos; using namespace ::rtl; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::registry; diff --git a/ucb/inc/pch/precompiled_ucb.hxx b/ucb/inc/pch/precompiled_ucb.hxx index 0928337a8c..7673ca7e4e 100644 --- a/ucb/inc/pch/precompiled_ucb.hxx +++ b/ucb/inc/pch/precompiled_ucb.hxx @@ -176,7 +176,7 @@ #include "ucbhelper/proxydecider.hxx" #include "osl/diagnose.h" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "vos/process.hxx" //---MARKER--- diff --git a/ucb/workben/ucb/ucbdemo.cxx b/ucb/workben/ucb/ucbdemo.cxx index f19811e98a..4dc3c920c5 100644 --- a/ucb/workben/ucb/ucbdemo.cxx +++ b/ucb/workben/ucb/ucbdemo.cxx @@ -31,7 +31,7 @@ #include #include -#include +#include #include #include #include diff --git a/uui/source/fltdlg.cxx b/uui/source/fltdlg.cxx index c38ff74db2..2cff694ef6 100644 --- a/uui/source/fltdlg.cxx +++ b/uui/source/fltdlg.cxx @@ -46,7 +46,7 @@ #include #include -#include +#include #include namespace uui diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx index e235b9ebc0..4fa3ef3c02 100644 --- a/uui/source/iahndl-authentication.cxx +++ b/uui/source/iahndl-authentication.cxx @@ -40,7 +40,7 @@ #include "osl/diagnose.h" #include "rtl/digest.h" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "tools/errcode.hxx" #include "vcl/msgbox.hxx" #include "vcl/abstdlg.hxx" diff --git a/uui/source/iahndl-cookies.cxx b/uui/source/iahndl-cookies.cxx index 5263a40a9d..36c3b629c0 100644 --- a/uui/source/iahndl-cookies.cxx +++ b/uui/source/iahndl-cookies.cxx @@ -30,7 +30,7 @@ #include "com/sun/star/ucb/XInteractionCookieHandling.hpp" #include "com/sun/star/task/XInteractionRequest.hpp" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "tools/list.hxx" #include "svl/httpcook.hxx" #include "vcl/svapp.hxx" diff --git a/uui/source/iahndl-errorhandler.cxx b/uui/source/iahndl-errorhandler.cxx index 087a1cfd36..065dd888e8 100644 --- a/uui/source/iahndl-errorhandler.cxx +++ b/uui/source/iahndl-errorhandler.cxx @@ -28,7 +28,7 @@ #include -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "vcl/svapp.hxx" #include "vcl/msgbox.hxx" diff --git a/uui/source/iahndl-filter.cxx b/uui/source/iahndl-filter.cxx index 571558b1bf..593972245a 100644 --- a/uui/source/iahndl-filter.cxx +++ b/uui/source/iahndl-filter.cxx @@ -40,7 +40,7 @@ #include "com/sun/star/task/XInteractionRequest.hpp" #include "com/sun/star/ui/dialogs/XExecutableDialog.hpp" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "comphelper/sequenceashashmap.hxx" #include "vcl/svapp.hxx" diff --git a/uui/source/iahndl-locking.cxx b/uui/source/iahndl-locking.cxx index ceff1fb393..ee8c0742b0 100644 --- a/uui/source/iahndl-locking.cxx +++ b/uui/source/iahndl-locking.cxx @@ -38,7 +38,7 @@ #include "com/sun/star/task/XInteractionAbort.hpp" #include "com/sun/star/task/XInteractionRequest.hpp" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "vcl/svapp.hxx" #include "vcl/msgbox.hxx" diff --git a/uui/source/iahndl-ssl.cxx b/uui/source/iahndl-ssl.cxx index 6bdeade49f..3c8452fb6b 100644 --- a/uui/source/iahndl-ssl.cxx +++ b/uui/source/iahndl-ssl.cxx @@ -32,7 +32,7 @@ #include "com/sun/star/task/XInteractionRequest.hpp" #include "com/sun/star/ucb/CertificateValidationRequest.hpp" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "tools/datetime.hxx" #include "svl/zforlist.hxx" #include "vcl/svapp.hxx" diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx index 425b3b9c5a..a119399dcc 100644 --- a/uui/source/iahndl.cxx +++ b/uui/source/iahndl.cxx @@ -71,7 +71,7 @@ #include "osl/conditn.hxx" #include "tools/rcid.h" // RSC_STRING #include "tools/errinf.hxx" // ErrorHandler, ErrorContext, ... -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "tools/diagnose_ex.h" #include "comphelper/documentconstants.hxx" // ODFVER_012_TEXT #include "svtools/sfxecode.hxx" // ERRCODE_SFX_* diff --git a/vbahelper/source/vbahelper/vbashape.cxx b/vbahelper/source/vbahelper/vbashape.cxx index 8603a4a12b..7eafdfde1b 100644 --- a/vbahelper/source/vbahelper/vbashape.cxx +++ b/vbahelper/source/vbahelper/vbashape.cxx @@ -41,7 +41,7 @@ #include #include -#include +#include #include #include #include @@ -55,7 +55,6 @@ using namespace ::ooo::vba; using namespace ::com::sun::star; -using namespace ::vos; ScVbaShape::ScVbaShape( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< drawing::XShape >& xShape, const uno::Reference< drawing::XShapes >& xShapes, const uno::Reference< frame::XModel >& xModel, sal_Int32 nType ) throw( lang::IllegalArgumentException ) : ScVbaShape_BASE( xParent, xContext ), m_xShape( xShape ), m_xShapes( xShapes ), m_nType( nType ), m_xModel( xModel ) { diff --git a/xmloff/inc/pch/precompiled_xmloff.hxx b/xmloff/inc/pch/precompiled_xmloff.hxx index 58fc72d3e7..b8986204a0 100644 --- a/xmloff/inc/pch/precompiled_xmloff.hxx +++ b/xmloff/inc/pch/precompiled_xmloff.hxx @@ -470,7 +470,7 @@ #include "unotools/fontcvt.hxx" #include "tools/mapunit.hxx" -#include "vos/mutex.hxx" +#include "osl/mutex.hxx" #include "rtl/ref.hxx" #include "salhelper/simplereferenceobject.hxx" diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index feee252fb5..ca7249bba7 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -79,7 +79,7 @@ #include "XMLFilterServiceNames.h" #include "XMLEmbeddedObjectExportFilter.hxx" #include "XMLBasicExportFilter.hxx" -#include +#include #include #include #include @@ -2429,8 +2429,8 @@ void SvXMLExport::SetError( const Reference& rLocator ) { // allow multi-threaded access to the cancel() method - static ::vos::OMutex aMutex; - ::vos::OGuard aGuard(aMutex); + static osl::Mutex aMutex; + osl::MutexGuard aGuard(aMutex); // maintain error flags if ( ( nId & XMLERROR_FLAG_ERROR ) != 0 ) -- cgit v1.2.3