summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2018-11-06 11:28:52 +0100
committerAndras Timar <andras.timar@collabora.com>2018-11-06 14:31:44 +0100
commitd186ed09bcabe36f70e8a58b4f0b1c05c3c72218 (patch)
tree9dd5227bf638e2fba37d4d070160223d470f386b /svtools
parent4d9dda3fd096b9bffba5a07243a86208affd893f (diff)
replace Application::GetMainThreadIdentifier to Application::IsMainThread
Change-Id: I2b9ea77b48673af3575a3142feea5bed84f75d74 Reviewed-on: https://gerrit.libreoffice.org/62950 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/hatchwindow/documentcloser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/hatchwindow/documentcloser.cxx b/svtools/source/hatchwindow/documentcloser.cxx
index 69761b14eddd..ed064b3d4f76 100644
--- a/svtools/source/hatchwindow/documentcloser.cxx
+++ b/svtools/source/hatchwindow/documentcloser.cxx
@@ -85,7 +85,7 @@ void MainThreadFrameCloserRequest::Start( MainThreadFrameCloserRequest* pMTReque
{
if ( pMTRequest )
{
- if ( Application::GetMainThreadIdentifier() == osl::Thread::getCurrentIdentifier() )
+ if ( Application::IsMainThread() )
{
// this is the main thread
worker( nullptr, pMTRequest );