summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/dinfdlg.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 /sfx2/source/dialog/dinfdlg.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 'sfx2/source/dialog/dinfdlg.cxx')
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 0322ba3d6ac9..41087c90d276 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -843,6 +843,7 @@ void SfxDocumentPage::ImplUpdateSignatures()
try
{
xD = security::DocumentDigitalSignatures::createDefault(comphelper::getProcessComponentContext());
+ xD->setParentWindow(VCLUnoHelper::GetInterface(GetTabDialog()));
}
catch ( const css::uno::DeploymentException& )
{