diff options
author | Thomas Lange [tl] <tl@openoffice.org> | 2010-05-25 11:45:06 +0200 |
---|---|---|
committer | Thomas Lange [tl] <tl@openoffice.org> | 2010-05-25 11:45:06 +0200 |
commit | c1a5e74fa9d1a364cd85049cf32f650e92851ee1 (patch) | |
tree | 01e6186bdb3ff1ebc051c207825b43b44690ffe1 /sw/source/ui/uiview/view2.cxx | |
parent | 9c4d0fbe73cf1311aa82cc986206fdb9ddd9c6c3 (diff) |
cws tl79: #i110254# security tab page in 'File/Properties'
Diffstat (limited to 'sw/source/ui/uiview/view2.cxx')
-rwxr-xr-x | sw/source/ui/uiview/view2.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/ui/uiview/view2.cxx b/sw/source/ui/uiview/view2.cxx index f8106bedd994..5ba782d8ef89 100755 --- a/sw/source/ui/uiview/view2.cxx +++ b/sw/source/ui/uiview/view2.cxx @@ -545,6 +545,7 @@ void __EXPORT SwView::Execute(SfxRequest &rReq) else pParent = &GetViewFrame()->GetWindow(); SfxPasswordDialog aPasswdDlg( pParent ); + aPasswdDlg.SetMinLen( 1 ); //#i69751# the result of Execute() can be ignored aPasswdDlg.Execute(); String sNewPasswd( aPasswdDlg.GetPassword() ); @@ -581,6 +582,7 @@ void __EXPORT SwView::Execute(SfxRequest &rReq) else pParent = &GetViewFrame()->GetWindow(); SfxPasswordDialog aPasswdDlg( pParent ); + aPasswdDlg.SetMinLen( 1 ); if(!aPasswd.getLength()) aPasswdDlg.ShowExtras(SHOWEXTRAS_CONFIRM); if (aPasswdDlg.Execute()) |