diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-10 21:29:05 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-10 21:29:05 -0500 |
commit | d7968478a94d6baf5d814262f924801ddb90e296 (patch) | |
tree | ecc657b43768fc649354deb4838d98dedb59a9e6 /sfx2 | |
parent | 26ea5e0aa29eb0d99f4e7edf1f0d6c76dbd84c59 (diff) |
merge vosremoval-thread patch
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/pch/precompiled_sfx2.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/dialog/filedlghelper.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/dialog/mailmodelapi.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/doc/doctempl.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/doctemplates.cxx | 5 | ||||
-rw-r--r-- | sfx2/source/inet/inettbc.cxx | 2 |
6 files changed, 11 insertions, 10 deletions
diff --git a/sfx2/inc/pch/precompiled_sfx2.hxx b/sfx2/inc/pch/precompiled_sfx2.hxx index 77587fea3f..308d41e39b 100644 --- a/sfx2/inc/pch/precompiled_sfx2.hxx +++ b/sfx2/inc/pch/precompiled_sfx2.hxx @@ -662,7 +662,7 @@ #include "vos/process.hxx" #include "vos/security.hxx" #include "vos/socket.hxx" -#include "vos/thread.hxx" +#include "osl/thread.hxx" #include "vos/xception.hxx" //---MARKER--- #endif diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index c8857912c9..5963ab2c18 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -63,9 +63,9 @@ #include <unotools/ucbstreamhelper.hxx> #include <unotools/ucbhelper.hxx> #include <unotools/localfilehelper.hxx> -#include <vos/thread.hxx> #include <vos/mutex.hxx> #include <vos/security.hxx> +#include <osl/thread.hxx> #include <vcl/cvtgrf.hxx> #include <vcl/msgbox.hxx> #include <vcl/mnemonic.hxx> @@ -1156,7 +1156,7 @@ FileDialogHelper_Impl::~FileDialogHelper_Impl() #define nMagic -1 -class PickerThread_Impl : public ::vos::OThread +class PickerThread_Impl : public ::osl::Thread { uno::Reference < XFilePicker > mxPicker; ::vos::OMutex maMutex; diff --git a/sfx2/source/dialog/mailmodelapi.cxx b/sfx2/source/dialog/mailmodelapi.cxx index f056825c79..3c20ffa908 100644 --- a/sfx2/source/dialog/mailmodelapi.cxx +++ b/sfx2/source/dialog/mailmodelapi.cxx @@ -52,7 +52,7 @@ #include <unotools/streamhelper.hxx> #include <unotools/configitem.hxx> #include <comphelper/mediadescriptor.hxx> -#include <vos/thread.hxx> +#include <osl/thread.hxx> #include <vcl/msgbox.hxx> #include "mailmodelapi.hxx" @@ -148,8 +148,8 @@ namespace } -// class OThread -class OMailSendThreadImpl : public ::vos::OThread +// class osl::Thread +class OMailSendThreadImpl : public ::osl::Thread { public: OMailSendThreadImpl( diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index 0b1b6c665e..a34b58abb3 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -31,7 +31,7 @@ #include <limits.h> #include <com/sun/star/uno/Any.h> #include <vos/mutex.hxx> -#include <vos/thread.hxx> +#include <osl/thread.hxx> #include <tools/resary.hxx> #include <vcl/svapp.hxx> diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx index 6d758d63f6..6b002b6442 100644 --- a/sfx2/source/doc/doctemplates.cxx +++ b/sfx2/source/doc/doctemplates.cxx @@ -303,7 +303,7 @@ public: //============================================================================= -class Updater_Impl : public ::vos::OThread +class Updater_Impl : public ::osl::Thread { private: SfxDocTplService_Impl *mpDocTemplates; @@ -1150,7 +1150,8 @@ SfxDocTplService_Impl::~SfxDocTplService_Impl() if ( mpUpdater ) { - mpUpdater->kill(); + mpUpdater->terminate(); + mpUpdater->join(); delete mpUpdater; } } diff --git a/sfx2/source/inet/inettbc.cxx b/sfx2/source/inet/inettbc.cxx index b58d12e640..da15d3ea62 100644 --- a/sfx2/source/inet/inettbc.cxx +++ b/sfx2/source/inet/inettbc.cxx @@ -39,7 +39,7 @@ #include <svl/folderrestriction.hxx> #include <vcl/toolbox.hxx> #include <toolkit/unohlp.hxx> -#include <vos/thread.hxx> +#include <osl/thread.hxx> #include <vos/mutex.hxx> #include <rtl/ustring.hxx> |