summaryrefslogtreecommitdiff
path: root/pyuno
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 /pyuno
parentbcce27d2832a2b098a42cbbd365df35948b9d0ac (diff)
osl_getThreadIdentifier(0) -> osl::Thread::getCurrentIdentifier()
Change-Id: Ida9785c4b9fda0459769957734952e69d7a9de44
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno_util.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_util.cxx b/pyuno/source/module/pyuno_util.cxx
index 1cf1e40b343c..a8da336c7314 100644
--- a/pyuno/source/module/pyuno_util.cxx
+++ b/pyuno/source/module/pyuno_util.cxx
@@ -21,6 +21,7 @@
#include <time.h>
#include <osl/thread.h>
+#include <osl/thread.hxx>
#include <typelib/typedescription.hxx>
@@ -153,7 +154,7 @@ void log( RuntimeCargo * cargo, sal_Int32 level, const char *str )
localDateTime.NanoSeconds/1000000),
strLevel[level],
sal::static_int_cast< long >(
- (sal_Int32) osl_getThreadIdentifier( 0)),
+ (sal_Int32) osl::Thread::getCurrentIdentifier()),
str );
}
}