summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNickWingate <nick.wingate@collabora.com>2022-12-28 17:27:31 +0000
committerAndras Timar <andras.timar@collabora.com>2023-01-19 12:48:06 +0000
commit7ebe5e19fb379c88b8e455693a23fd9036c1b517 (patch)
treede08a8c75f8252060c7a85403f2d98a30f7b86b3 /include
parentee8aa3dbaf6c02c9ea1bd7781e5e71847b4e614b (diff)
Make PDFExport Password Subdialog Async
Dialog in File>Export As PDF>Security>Set Password Close subdialog when parent dialog is closed Signed-off-by: NickWingate <nick.wingate@collabora.com> Change-Id: I9db8459309f2806ed47f9f932e0bde246400b2dc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144854 Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145759 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/passwd.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sfx2/passwd.hxx b/include/sfx2/passwd.hxx
index 3302c370b3b2..17205a5d4933 100644
--- a/include/sfx2/passwd.hxx
+++ b/include/sfx2/passwd.hxx
@@ -64,6 +64,8 @@ private:
std::unique_ptr<weld::Button> m_xOKBtn;
+ std::shared_ptr<weld::MessageDialog> m_xConfirmFailedDialog;
+
OUString maMinLenPwdStr;
OUString maMinLenPwdStr1;
OUString maEmptyPwdStr;
@@ -122,7 +124,11 @@ public:
void AllowAsciiOnly();
void ShowMinLengthText(bool bShow);
+ void PreRun();
+
virtual short run() override;
+
+ ~SfxPasswordDialog();
};
#endif // INCLUDED_SFX2_PASSWD_HXX