summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-08-21 14:18:40 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-08-21 14:19:10 +0200
commit19277d02fb996058e896725bae7500f356f08af0 (patch)
tree243a2fc5bbba794f03a865527407304aa2de4554 /lotuswordpro
parentbcce27d2832a2b098a42cbbd365df35948b9d0ac (diff)
osl_getThreadIdentifier(0) -> osl::Thread::getCurrentIdentifier()
Change-Id: Ida9785c4b9fda0459769957734952e69d7a9de44
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpglobalmgr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwpglobalmgr.cxx b/lotuswordpro/source/filter/lwpglobalmgr.cxx
index 489b0cfd47ce..b3eb7e02f631 100644
--- a/lotuswordpro/source/filter/lwpglobalmgr.cxx
+++ b/lotuswordpro/source/filter/lwpglobalmgr.cxx
@@ -54,7 +54,7 @@
*
************************************************************************/
#include "lwpglobalmgr.hxx"
-#include <osl/thread.h>
+#include <osl/thread.hxx>
std::map< sal_uInt32,LwpGlobalMgr* > LwpGlobalMgr::m_ThreadMap;
LwpGlobalMgr::LwpGlobalMgr(LwpSvStream* pSvStream)
{
@@ -106,7 +106,7 @@ LwpGlobalMgr::~LwpGlobalMgr()
LwpGlobalMgr* LwpGlobalMgr::GetInstance(LwpSvStream* pSvStream)
{
- sal_uInt32 nThreadID = osl_getThreadIdentifier((void*)0);
+ sal_uInt32 nThreadID = osl::Thread::getCurrentIdentifier();
std::map< sal_uInt32,LwpGlobalMgr* >::iterator iter;
iter = m_ThreadMap.find(nThreadID);
if (iter == m_ThreadMap.end())
@@ -121,7 +121,7 @@ LwpGlobalMgr* LwpGlobalMgr::GetInstance(LwpSvStream* pSvStream)
void LwpGlobalMgr::DeleteInstance()
{
- sal_uInt32 nThreadID = osl_getThreadIdentifier((void*)0);
+ sal_uInt32 nThreadID = osl::Thread::getCurrentIdentifier();
std::map< sal_uInt32,LwpGlobalMgr* >::iterator iter;
iter = m_ThreadMap.find(nThreadID);
if (iter != m_ThreadMap.end())