Fixed fdo#31075: Use "Enter Password" in all the dialogs
This commit is contained in:
parent
acccf6e4e4
commit
bf2b7b353b
3 changed files with 1 additions and 13 deletions
|
@ -237,9 +237,7 @@
|
|||
#define TP_MANAGE_STYLES (RID_SFX_START+7)
|
||||
#define DLG_STYLE_DESIGNER (RID_SFX_START+8)
|
||||
|
||||
#define RID_SFX_PROTECT_RECORDS (RID_SFX_START+216)
|
||||
#define RID_SFX_UNPROTECT_RECORDS (RID_SFX_START+217)
|
||||
#define RID_SFX_INCORRECT_PASSWORD (RID_SFX_START+218)
|
||||
#define RID_SFX_INCORRECT_PASSWORD (RID_SFX_START+216)
|
||||
|
||||
#define STR_STYLE_FILTER_AUTO (RID_SFX_START+9)
|
||||
#define STR_STYLE_FILTER_USED (RID_SFX_START+10)
|
||||
|
|
|
@ -130,8 +130,6 @@ static short lcl_GetPassword(
|
|||
{
|
||||
bool bRes = false;
|
||||
SfxPasswordDialog aPasswdDlg( pParent );
|
||||
const String aTitle( SfxResId( bProtect ? RID_SFX_PROTECT_RECORDS : RID_SFX_UNPROTECT_RECORDS ) );
|
||||
aPasswdDlg.SetText( aTitle );
|
||||
aPasswdDlg.SetMinLen( 1 );
|
||||
if (bProtect)
|
||||
aPasswdDlg.ShowExtras( SHOWEXTRAS_CONFIRM );
|
||||
|
|
|
@ -159,14 +159,6 @@ TabPage TP_DOCINFOSECURITY
|
|||
};
|
||||
};
|
||||
|
||||
String RID_SFX_PROTECT_RECORDS
|
||||
{
|
||||
Text [ en-US ] = "Protect Records" ;
|
||||
};
|
||||
String RID_SFX_UNPROTECT_RECORDS
|
||||
{
|
||||
Text [ en-US ] = "Unprotect Records" ;
|
||||
};
|
||||
String RID_SFX_INCORRECT_PASSWORD
|
||||
{
|
||||
Text [ en-US ] = "Incorrect password" ;
|
||||
|
|
Loading…
Reference in a new issue