summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
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 );
}
}