diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-04-06 23:17:50 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-04-06 23:17:50 -0400 |
commit | 696dccc7134799629ed249f15757000deb533d26 (patch) | |
tree | 6d431c644c3b94423591a5cbb88a6afd17620282 /sfx2/inc/sfx2/dinfdlg.hxx | |
parent | e843be296a5d95cbfdc134e729a361bc04d0753f (diff) |
Ported document-password-change-sfx2.diff from the build repo.
This allows users to change the current password of a document
encrypted with a password.
Diffstat (limited to 'sfx2/inc/sfx2/dinfdlg.hxx')
-rw-r--r-- | sfx2/inc/sfx2/dinfdlg.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/inc/sfx2/dinfdlg.hxx b/sfx2/inc/sfx2/dinfdlg.hxx index cbeb4b37d0..95e8a5d0c2 100644 --- a/sfx2/inc/sfx2/dinfdlg.hxx +++ b/sfx2/inc/sfx2/dinfdlg.hxx @@ -174,6 +174,7 @@ class SfxDocumentPage : public SfxTabPage private: FixedImage aBmp1; Edit aNameED; + PushButton aChangePassBtn; FixedLine aLine1FL; FixedText aTypeFT; @@ -213,7 +214,9 @@ private: DECL_LINK( DeleteHdl, PushButton * ); DECL_LINK( SignatureHdl, PushButton * ); + DECL_LINK( ChangePassHdl, PushButton * ); void ImplUpdateSignatures(); + void ImplCheckPasswordState(); protected: SfxDocumentPage( Window* pParent, const SfxItemSet& ); |