summaryrefslogtreecommitdiff
path: root/basctl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-04-08 10:34:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-04-09 10:07:13 +0200
commit200626e41f004b6b8588f89fa3707c71ae2b375c (patch)
treef81bf21c9442ea75d80d1ceb7f1cc3ad11ca71fa /basctl/source
parentce9f23c6196b17985d14e441aa93175b31650f34 (diff)
remove need for an intermediate vcl::Window
Change-Id: I59f24888e47ec17e46bf651d8530fc9468f16f62 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113795 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basctl/source')
-rw-r--r--basctl/source/basicide/basidesh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx
index a42722ca9816..0e85219824b2 100644
--- a/basctl/source/basicide/basidesh.cxx
+++ b/basctl/source/basicide/basidesh.cxx
@@ -390,7 +390,7 @@ bool Shell::PrepareClose( bool bUI )
{
if( bUI )
{
- std::unique_ptr<weld::MessageDialog> xInfoBox(Application::CreateMessageDialog(GetViewFrame()->GetWindow().GetFrameWeld(),
+ std::unique_ptr<weld::MessageDialog> xInfoBox(Application::CreateMessageDialog(GetViewFrame()->GetFrameWeld(),
VclMessageType::Info, VclButtonsType::Ok,
IDEResId(RID_STR_CANNOTCLOSE)));
xInfoBox->run();