summaryrefslogtreecommitdiff
path: root/cui/source/factory/dlgfact.cxx
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-03-04 16:14:56 +0100
committerThomas Lange [tl] <tl@openoffice.org>2010-03-04 16:14:56 +0100
commit7cd3ea794099e257d99748908855e61aa9df89eb (patch)
tree4395ce632e89661cba0c0cbb34e0f398d3836965 /cui/source/factory/dlgfact.cxx
parent5d80039860ebc67494e489137138fbc935089cc0 (diff)
#i109634# password to open/modify dialog
Diffstat (limited to 'cui/source/factory/dlgfact.cxx')
-rwxr-xr-xcui/source/factory/dlgfact.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx
index 6102a91da836..a1db7ce1bcd4 100755
--- a/cui/source/factory/dlgfact.cxx
+++ b/cui/source/factory/dlgfact.cxx
@@ -962,6 +962,10 @@ String AbstractPasswordToOpenModifyDialog_Impl::GetPasswordToModify() const
{
return pDlg->GetPasswordToModify();
}
+bool AbstractPasswordToOpenModifyDialog_Impl::IsRecommendToOpenReadonly() const
+{
+ return pDlg->IsRecommendToOpenReadonly();
+}
// Create dialogs with simplest interface
VclAbstractDialog* AbstractDialogFactory_Impl::CreateVclDialog( Window* pParent, sal_uInt32 nResId )
@@ -1916,9 +1920,11 @@ SvxAbstractInsRowColDlg* AbstractDialogFactory_Impl::CreateSvxInsRowColDlg( Wind
return new SvxInsRowColDlg( pParent, bCol, nHelpId );
}
-AbstractPasswordToOpenModifyDialog * AbstractDialogFactory_Impl::CreatePasswordToOpenModifyDialog( Window * pParent )
+AbstractPasswordToOpenModifyDialog * AbstractDialogFactory_Impl::CreatePasswordToOpenModifyDialog(
+ Window * pParent,
+ sal_uInt16 nMinPasswdLen, sal_uInt16 nMaxPasswdLen )
{
- PasswordToOpenModifyDialog * pDlg = new PasswordToOpenModifyDialog( pParent );
+ PasswordToOpenModifyDialog * pDlg = new PasswordToOpenModifyDialog( pParent, nMinPasswdLen, nMaxPasswdLen );
return new AbstractPasswordToOpenModifyDialog_Impl( pDlg );
}