diff --git a/cui/source/inc/cuigaldlg.hxx b/cui/source/inc/cuigaldlg.hxx index 56aedff40de1..9bd80879816d 100644 --- a/cui/source/inc/cuigaldlg.hxx +++ b/cui/source/inc/cuigaldlg.hxx @@ -28,7 +28,7 @@ #ifndef _CUI_GALDLG_HXX_ #define _CUI_GALDLG_HXX_ -#include +#include #include #include #include @@ -71,7 +71,7 @@ struct FilterEntry // - SearchThread - // ---------------- -class SearchThread : public ::vos::OThread +class SearchThread : public ::osl::Thread { private: @@ -128,7 +128,7 @@ public: // - TakeThread - // -------------- -class TakeThread : public ::vos::OThread +class TakeThread : public ::osl::Thread { private: diff --git a/extensions/source/ole/olethread.cxx b/extensions/source/ole/olethread.cxx index 7fcd29612f57..64df49888b68 100644 --- a/extensions/source/ole/olethread.cxx +++ b/extensions/source/ole/olethread.cxx @@ -38,7 +38,6 @@ #include -using namespace vos; using namespace std; namespace ole_adapter @@ -50,7 +49,7 @@ typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *ptrCoInit)( LPVOID); void o2u_attachCurrentThread() { - static OThreadData oleThreadData; + static osl::ThreadData oleThreadData; if ((sal_Bool)(sal_IntPtr)oleThreadData.getData() != sal_True) {