summaryrefslogtreecommitdiff
path: root/sw/source/ui/uiview/view2.cxx
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-05-25 11:45:06 +0200
committerThomas Lange [tl] <tl@openoffice.org>2010-05-25 11:45:06 +0200
commitc1a5e74fa9d1a364cd85049cf32f650e92851ee1 (patch)
tree01e6186bdb3ff1ebc051c207825b43b44690ffe1 /sw/source/ui/uiview/view2.cxx
parent9c4d0fbe73cf1311aa82cc986206fdb9ddd9c6c3 (diff)
cws tl79: #i110254# security tab page in 'File/Properties'
Diffstat (limited to 'sw/source/ui/uiview/view2.cxx')
-rwxr-xr-xsw/source/ui/uiview/view2.cxx2
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())