summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-16 15:13:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-17 11:00:19 +0200
commit2b52e332b7d6cd18cb024295c1218517cf6d27d9 (patch)
tree8ba31084149586e386291a06959fd7b3b109377b /sw/source
parent30c178dcb3301527ad92bbd245d1525ab77e314e (diff)
insert->envelope->printer->setup crashes
Change-Id: I06d91941eaab0f622b384e9b3379d033890fd92f Reviewed-on: https://gerrit.libreoffice.org/59185 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/ui/envelp/envprt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/envelp/envprt.cxx b/sw/source/ui/envelp/envprt.cxx
index fee13aabad94..c25a1ff7eb08 100644
--- a/sw/source/ui/envelp/envprt.cxx
+++ b/sw/source/ui/envelp/envprt.cxx
@@ -118,7 +118,7 @@ IMPL_LINK(SwEnvPrtPage, ButtonHdl, weld::Button&, rBtn, void)
// Call printer setup
if (m_xPrt)
{
- PrinterSetupDialog aDlg(GetTabDialog()->GetFrameWeld());
+ PrinterSetupDialog aDlg(GetDialogController()->getDialog());
aDlg.SetPrinter(m_xPrt);
aDlg.execute();
rBtn.grab_focus();