summaryrefslogtreecommitdiff
path: root/uui/source/sslwarndlg.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-02-13 10:32:40 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-02-14 09:57:40 +0100
commita9a59d53783dd773fd4853266a1d98fab9912922 (patch)
treed2da900f20f12988f7587b8cfa9e9442dc398940 /uui/source/sslwarndlg.cxx
parentf871e8f5b34aa43db7958cbed9edecf618c9afa0 (diff)
[API CHANGE] add setParentWindow to XDocumentDigitalSignatures
so we can specify which window modal dialogs are modal to Change-Id: I7cd7348b5cd0f55d698553f313f745d5e0d6389d Reviewed-on: https://gerrit.libreoffice.org/67765 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'uui/source/sslwarndlg.cxx')
-rw-r--r--uui/source/sslwarndlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/sslwarndlg.cxx b/uui/source/sslwarndlg.cxx
index 9ff629e5b345..a1c340cc0afe 100644
--- a/uui/source/sslwarndlg.cxx
+++ b/uui/source/sslwarndlg.cxx
@@ -31,8 +31,8 @@ IMPL_LINK_NOARG(SSLWarnDialog, ViewCertHdl, weld::Button&, void)
uno::Reference< css::security::XDocumentDigitalSignatures > xDocumentDigitalSignatures;
xDocumentDigitalSignatures = css::security::DocumentDigitalSignatures::createDefault( m_xContext );
-
- xDocumentDigitalSignatures.get()->showCertificate(m_rXCert);
+ xDocumentDigitalSignatures->setParentWindow(m_xDialog->GetXWindow());
+ xDocumentDigitalSignatures->showCertificate(m_rXCert);
}
SSLWarnDialog::SSLWarnDialog(weld::Window* pParent,