diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-11-22 21:15:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-11-23 10:04:09 +0100 |
commit | 277dc083a500e08e7501d8cdb160aabacbefdc49 (patch) | |
tree | 204183c5c2bb7f328feaad0206c7729547f509cd /sd/source/ui/app | |
parent | f0942eed2eb328b04856f20613f5226d66b66a20 (diff) |
set a parent for this warning dialog
Change-Id: I6d71874c3957e9ee4cebb622f702903775ec9aed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159844
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sd/source/ui/app')
-rw-r--r-- | sd/source/ui/app/sdmod1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx index 781181ba7d7b..b211d9c95f94 100644 --- a/sd/source/ui/app/sdmod1.cxx +++ b/sd/source/ui/app/sdmod1.cxx @@ -223,7 +223,7 @@ void SdModule::Execute(SfxRequest& rReq) } else { - std::unique_ptr<weld::MessageDialog> xErrorBox(Application::CreateMessageDialog(nullptr, + std::unique_ptr<weld::MessageDialog> xErrorBox(Application::CreateMessageDialog(rReq.GetFrameWeld(), VclMessageType::Warning, VclButtonsType::Ok, SdResId(STR_CANT_PERFORM_IN_LIVEMODE))); xErrorBox->run(); |