summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/app/saldata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/app/saldata.cxx')
-rw-r--r--vcl/unx/generic/app/saldata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/app/saldata.cxx b/vcl/unx/generic/app/saldata.cxx
index 8141da534a57..decdaa50177e 100644
--- a/vcl/unx/generic/app/saldata.cxx
+++ b/vcl/unx/generic/app/saldata.cxx
@@ -82,7 +82,7 @@ static int XErrorHdl( Display *pDisplay, XErrorEvent *pEvent )
static int XIOErrorHdl( Display * )
{
- if (::osl::Thread::getCurrentIdentifier() == Application::GetMainThreadIdentifier())
+ if ( Application::IsMainThread() )
{
/* #106197# hack: until a real shutdown procedure exists
* _exit ASAP