summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-11 12:53:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-11 15:37:27 +0200
commita87569e9ea8db9a0d869570613603eebf7c145e8 (patch)
tree804a8673c5c763bbffef835e5fba65d7e46ececf /desktop/source
parent5afe093d8994c37d239001e8e272ab86eea62dcb (diff)
weld RestartDialog
Change-Id: Iae97806a11b6c950931a342d06b3eeea168c7559 Reviewed-on: https://gerrit.libreoffice.org/52721 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/deployment/gui/dp_gui_dialog2.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
index 13f34f66f5f8..38072271b33c 100644
--- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx
+++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
@@ -1023,7 +1023,8 @@ IMPL_STATIC_LINK(ExtMgrDialog, Restart, void*, pParent, void)
{
SolarMutexGuard aGuard;
::svtools::executeRestartDialog(comphelper::getProcessComponentContext(),
- static_cast<vcl::Window*>(pParent), svtools::RESTART_REASON_EXTENSION_INSTALL);
+ pParent ? static_cast<vcl::Window*>(pParent)->GetFrameWeld() : nullptr,
+ svtools::RESTART_REASON_EXTENSION_INSTALL);
}
bool ExtMgrDialog::Close()