From 2648907f51e230627f3a5b767b19985231a68412 Mon Sep 17 00:00:00 2001 From: Sarper Akdemir Date: Wed, 17 Jul 2024 15:17:32 +0200 Subject: make pop-up on Encrypt With GPG Key modal Not setting any parent window for XDocumentDigitalSignatures causes the key selection window to be non-modal, letting the user keep editing the document without completing the encryption interaction. Change-Id: Ic7e66cb43606355beaffc720b7c23cdf4f81d934 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170630 Tested-by: Jenkins Reviewed-by: Sarper Akdemir --- include/comphelper/storagehelper.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/comphelper/storagehelper.hxx b/include/comphelper/storagehelper.hxx index 2b36bbde5aac..3f9356c664da 100644 --- a/include/comphelper/storagehelper.hxx +++ b/include/comphelper/storagehelper.hxx @@ -45,6 +45,7 @@ namespace com::sun::star { } namespace lang { class XSingleServiceFactory; } namespace uno { class XComponentContext; } + namespace awt { class XWindow; } } namespace comphelper { @@ -175,7 +176,7 @@ public: std::u16string_view aPassword ); static css::uno::Sequence< css::beans::NamedValue > - CreateGpgPackageEncryptionData(); + CreateGpgPackageEncryptionData(const css::uno::Reference& xParentWindow); static bool IsValidZipEntryFileName( std::u16string_view aName, bool bSlashAllowed ); -- cgit