Kaydet (Commit) f5415276 authored tarafından Jan-Marek Glogowski's avatar Jan-Marek Glogowski

tdf#44497 run LicenseDialog with SolarMutex locked

Before commit 3840aede releasing
an unlocked SolarMutex was simply ignored, but now it aborts.

So run the LicenseDialog GUI code holding the SolarMutex, as
required.

Change-Id: Id9f5f6146cdfe2b21b68a2cdffc9dd4a527b551c
Reviewed-on: https://gerrit.libreoffice.org/42951Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJan-Marek Glogowski <glogow@fbihome.de>
üst 3d81ec33
...@@ -392,6 +392,7 @@ void ProgressCmdEnv::handle( uno::Reference< task::XInteractionRequest > const & ...@@ -392,6 +392,7 @@ void ProgressCmdEnv::handle( uno::Reference< task::XInteractionRequest > const &
} }
else if (request >>= licExc) else if (request >>= licExc)
{ {
SolarMutexGuard guard;
uno::Reference< ui::dialogs::XExecutableDialog > xDialog( uno::Reference< ui::dialogs::XExecutableDialog > xDialog(
deployment::ui::LicenseDialog::create( deployment::ui::LicenseDialog::create(
m_xContext, VCLUnoHelper::GetInterface( m_pDialogHelper? m_pDialogHelper->getWindow() : nullptr ), m_xContext, VCLUnoHelper::GetInterface( m_pDialogHelper? m_pDialogHelper->getWindow() : nullptr ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment