diff options
author | Andras Timar <andras.timar@collabora.com> | 2018-11-05 18:17:05 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2018-11-06 15:55:00 +0100 |
commit | 6f076e75b2adb4628ee3cea311781c40f219bba7 (patch) | |
tree | 561800cbcd685316ef7d6c6534756cc55f2e0ea6 /vcl/source/app | |
parent | ead83a1a3a346ae8a8206274954edabc6ce1116e (diff) |
LOK: update main thread
Change-Id: I75df6ae9f9fb41b08a8774ce026f79fdd120b629
Reviewed-on: https://gerrit.libreoffice.org/62921
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'vcl/source/app')
-rw-r--r-- | vcl/source/app/svapp.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index e08adff710e3..c412728cd6a4 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -1383,6 +1383,13 @@ void Application::SetHelp( Help* pHelp ) ImplGetSVData()->maAppData.mpHelp = pHelp; } +void Application::UpdateMainThread() +{ + ImplSVData* pSVData = ImplGetSVData(); + if (pSVData) + pSVData->mnMainThreadId = osl::Thread::getCurrentIdentifier(); +} + Help* Application::GetHelp() { return ImplGetSVData()->maAppData.mpHelp; |