diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-25 14:09:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-25 18:16:34 +0200 |
commit | b94214350e6e3d0252c09f203a3ce7807a179f90 (patch) | |
tree | 19786e0e6f6a055e562fc39f914b0b53ce93e65e /sd/qa | |
parent | dcbe802509e465b5f7ef9391d0d1ba12b5c7e6c0 (diff) |
weld SdPublishingDlg
Change-Id: I64ce16c8b107b8b4d6009e6e2d5775cbf173a019
Reviewed-on: https://gerrit.libreoffice.org/76334
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/qa')
-rw-r--r-- | sd/qa/unit/dialogs-test.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/qa/unit/dialogs-test.cxx b/sd/qa/unit/dialogs-test.cxx index d1d6e1518661..529fc6f87ffd 100644 --- a/sd/qa/unit/dialogs-test.cxx +++ b/sd/qa/unit/dialogs-test.cxx @@ -272,8 +272,9 @@ VclPtr<VclAbstractDialog> SdDialogsTest::createDialogByID(sal_uInt32 nID) // it is more a 'wizard' in that it has prev/next buttons and implicitly // multiple pages. To make use of that it is necessary that the implementation // supports the 'Screenshot interface' + auto const parent = Application::GetDefDialogParent(); pRetval = getSdAbstractDialogFactory()->CreateSdPublishingDlg( - Application::GetDefDialogParent(), + parent == nullptr ? nullptr : parent->GetFrameWeld(), DocumentType::Impress); break; } |