summaryrefslogtreecommitdiff
path: root/extensions/source/ole/olethread.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/ole/olethread.cxx')
-rw-r--r--extensions/source/ole/olethread.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/extensions/source/ole/olethread.cxx b/extensions/source/ole/olethread.cxx
index bd6d8652d902..bd17dff2b90e 100644
--- a/extensions/source/ole/olethread.cxx
+++ b/extensions/source/ole/olethread.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -36,9 +37,8 @@
#include <tools/presys.h>
#include <tools/postsys.h>
-#include <vos/thread.hxx>
+#include <osl/thread.hxx>
-using namespace vos;
using namespace std;
namespace ole_adapter
@@ -50,7 +50,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)
{
@@ -75,3 +75,5 @@ void o2u_attachCurrentThread()
}
} // end namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */