diff options
author | Sarper Akdemir <sarper.akdemir@allotropia.de> | 2024-07-17 15:17:32 +0200 |
---|---|---|
committer | Sarper Akdemir <sarper.akdemir@allotropia.de> | 2024-07-19 17:11:26 +0200 |
commit | 2648907f51e230627f3a5b767b19985231a68412 (patch) | |
tree | 20084ab79ff77cb373abee502aae9f3c7096ea0c /include | |
parent | f8c68d3499512a7f559fa990ec8a1648e3a7e5d5 (diff) |
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 <sarper.akdemir@allotropia.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/storagehelper.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
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<css::awt::XWindow>& xParentWindow); static bool IsValidZipEntryFileName( std::u16string_view aName, bool bSlashAllowed ); |