summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-08-22 23:51:08 +0200
committerMichael Stahl <mstahl@redhat.com>2014-08-25 13:21:59 +0200
commit57a4337e254b485df33dc01e508bb936adc6ec75 (patch)
tree9040323a7b8edc55f62e541dece0963e9df99d3d /sfx2
parent961d061ba177a79fe9f91404e3cd4d0d0bc30a87 (diff)
set names on a bunch more threads...
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/doctemplates.cxx2
-rw-r--r--sfx2/source/doc/printhelper.cxx2
2 files changed, 4 insertions, 0 deletions
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;