summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/dnd/source.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source/win32/dnd/source.cxx')
-rw-r--r--dtrans/source/win32/dnd/source.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/dtrans/source/win32/dnd/source.cxx b/dtrans/source/win32/dnd/source.cxx
index aed131fe94f7..d7907f59c8aa 100644
--- a/dtrans/source/win32/dnd/source.cxx
+++ b/dtrans/source/win32/dnd/source.cxx
@@ -30,6 +30,7 @@
#include "sourcecontext.hxx"
#include "../../inc/DtObjFactory.hxx"
#include <rtl/ustring.h>
+#include <osl/thread.h>
#include <winuser.h>
#include <stdio.h>
@@ -310,6 +311,8 @@ Sequence< OUString > SAL_CALL DragSource::getSupportedServiceNames( ) throw (Ru
XSourceListener. */
unsigned __stdcall DndOleSTAFunc(LPVOID pParams)
{
+ osl_setThreadName("DragSource DndOleSTAFunc");
+
// The structure contains all arguments for DoDragDrop and other
DragSource *pSource= (DragSource*)pParams;