summaryrefslogtreecommitdiff
path: root/svx
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 /svx
parent961d061ba177a79fe9f91404e3cd4d0d0bc30a87 (diff)
set names on a bunch more threads...
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
Diffstat (limited to 'svx')
-rw-r--r--svx/source/core/extedit.cxx2
-rw-r--r--svx/source/form/fmsrcimp.cxx2
-rw-r--r--svx/source/svdraw/svdograf.cxx2
3 files changed, 6 insertions, 0 deletions
diff --git a/svx/source/core/extedit.cxx b/svx/source/core/extedit.cxx
index 12864cc04181..c5e6eaf84179 100644
--- a/svx/source/core/extedit.cxx
+++ b/svx/source/core/extedit.cxx
@@ -68,6 +68,8 @@ IMPL_LINK (ExternalToolEdit, StartListeningEvent, void*, pEvent)
void ExternalToolEdit::threadWorker(void* pThreadData)
{
+ osl_setThreadName("ExternalToolEdit");
+
ExternalToolEdit* pData = (ExternalToolEdit*) pThreadData;
// Make an asynchronous call to listen to the event of temporary image file
diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx
index 35041320f03d..32e0116c3031 100644
--- a/svx/source/form/fmsrcimp.cxx
+++ b/svx/source/form/fmsrcimp.cxx
@@ -70,6 +70,8 @@ using namespace ::svxform;
void FmSearchThread::run()
{
+ osl_setThreadName("FmSearchThread");
+
m_pEngine->SearchNextImpl();
};
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index 339b0dfd2464..8c6a4892435b 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -183,6 +183,8 @@ void SAL_CALL SdrGraphicUpdater::onTerminated(void)
void SAL_CALL SdrGraphicUpdater::run(void)
{
+ osl_setThreadName("SdrGraphicUpdater");
+
Graphic aGraphic( ImpLoadLinkedGraphic( maFileName, mrGraphicLink.getReferer(), maFilterName ) );
SolarMutexGuard aSolarGuard;
if ( !mbIsTerminated )