summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-09-23 08:56:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-09-23 14:58:45 +0200
commit02bb62f2fbd66dc36e3ea4ad179a0874afbb8a9a (patch)
tree29a6ed7514274103621ec08a8b3089a02ead83aa /sd
parent080931eb5c49b8a05d1bf6f9ddc1203b3e75aaa2 (diff)
set wait on the correct parent
Change-Id: I0c0f4eb036713d12766fb425d5d563f6b2fc054e Reviewed-on: https://gerrit.libreoffice.org/79379 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/tpaction.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/tpaction.cxx b/sd/source/ui/dlg/tpaction.cxx
index c5c1f6fb51db..389ccd665245 100644
--- a/sd/source/ui/dlg/tpaction.cxx
+++ b/sd/source/ui/dlg/tpaction.cxx
@@ -630,7 +630,7 @@ IMPL_LINK_NOARG(SdTPAction, CheckFileHdl, weld::Widget&, void)
if( aMedium.IsStorage() )
{
- WaitObject aWait( GetParentDialog() );
+ weld::WaitObject aWait(GetDialogFrameWeld());
// is it a draw file?
// open with READ, otherwise the Storages might write into the file!