From 57a4337e254b485df33dc01e508bb936adc6ec75 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 22 Aug 2014 23:51:08 +0200 Subject: set names on a bunch more threads... Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8 --- sfx2/source/doc/doctemplates.cxx | 2 ++ sfx2/source/doc/printhelper.cxx | 2 ++ 2 files changed, 4 insertions(+) (limited to 'sfx2/source/doc') diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx index d84e68925b88..3b8a9b6e1198 100644 --- a/sfx2/source/doc/doctemplates.cxx +++ b/sfx2/source/doc/doctemplates.cxx @@ -2417,6 +2417,8 @@ Updater_Impl::~Updater_Impl() void SAL_CALL Updater_Impl::run() { + osl_setThreadName("Updater_Impl"); + mpDocTemplates->doUpdate(); } diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx index 87e2ca8675ae..70590590b0ef 100644 --- a/sfx2/source/doc/printhelper.cxx +++ b/sfx2/source/doc/printhelper.cxx @@ -494,6 +494,8 @@ class ImplUCBPrintWatcher : public ::osl::Thread */ void SAL_CALL run() SAL_OVERRIDE { + osl_setThreadName("ImplUCBPrintWatcher"); + /* SAFE { */ { SolarMutexGuard aGuard; -- cgit