summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-08-05 19:46:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-08-06 10:55:18 +0200
commit1aee8678c83c637a2d5c1e0a716528b0bcf11de0 (patch)
tree922a5e37d98f547bf0880c2e57a8bbedd0709a63 /svx/source
parent373da7a00986ea95ce959242c0876a5eaf18a1b6 (diff)
drop intermediate vcl::Window from Application::GetDefDialogParent
Change-Id: I96be984cbefeb8e45bf49de4c50a225a46fbefb6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120089 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/dialog/SafeModeUI.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/dialog/SafeModeUI.cxx b/svx/source/dialog/SafeModeUI.cxx
index 541057e0c846..d6ab6e5c86a3 100644
--- a/svx/source/dialog/SafeModeUI.cxx
+++ b/svx/source/dialog/SafeModeUI.cxx
@@ -62,8 +62,7 @@ css::uno::Any SAL_CALL SafeModeUI::dispatchWithReturnValue(const css::util::URL&
{
SolarMutexGuard aGuard;
css::uno::Any aRet;
- vcl::Window* pParentWindow = Application::GetDefDialogParent();
- SafeModeDialog aDialog(pParentWindow ? pParentWindow->GetFrameWeld() : nullptr);
+ SafeModeDialog aDialog(Application::GetDefDialogParent());
aDialog.run();
return aRet;
}