summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-01-31 10:06:07 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-01-31 10:09:45 -0500
commitbdb3c21ee5a20046dfd80c486e41ad591b863c1c (patch)
tree2e5891aa361e95ab7d3b18b4731dbc5ff4452cf2 /sfx2
parent19edf0dca7d759f15929f6b701f3e6b6d1e8b955 (diff)
bnc#437516: Hide minimum password info in the password dialog.
When launching it from the Security tab of the PDF Options dialog during PDF export. Change-Id: Ife2d3a7b508ba2e077018d11478ad680d18d3f0d
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/sfx2/passwd.hxx3
-rw-r--r--sfx2/source/dialog/passwd.cxx5
2 files changed, 8 insertions, 0 deletions
diff --git a/sfx2/inc/sfx2/passwd.hxx b/sfx2/inc/sfx2/passwd.hxx
index 856916a4189b..1f10c7416b98 100644
--- a/sfx2/inc/sfx2/passwd.hxx
+++ b/sfx2/inc/sfx2/passwd.hxx
@@ -112,6 +112,9 @@ public:
{
mbAsciiOnly = i_bAsciiOnly;
}
+
+ void ShowMinLengthText(bool bShow);
+
virtual short Execute();
};
diff --git a/sfx2/source/dialog/passwd.cxx b/sfx2/source/dialog/passwd.cxx
index b02eaad1c579..239713670d74 100644
--- a/sfx2/source/dialog/passwd.cxx
+++ b/sfx2/source/dialog/passwd.cxx
@@ -148,6 +148,11 @@ void SfxPasswordDialog::SetMinLen( sal_uInt16 nLen )
EditModifyHdl( NULL );
}
+void SfxPasswordDialog::ShowMinLengthText(bool bShow)
+{
+ mpMinLengthFT->Show(bShow);
+}
+
// -----------------------------------------------------------------------
short SfxPasswordDialog::Execute()