summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2010-10-27 16:49:15 +0200
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2010-10-27 16:50:52 +0200
commit6cb5d7f676ae2fb8497a3aedcb1694d88da43a9b (patch)
tree98b6068fea2033c456dec4b3c602e8ac57d8a46e /sfx2
parent0c69cbe99d1a3d631deaedae33eb1cca5c6ba5ee (diff)
Fixed fdo#31075: Use "Enter Password" in all the dialogs
Diffstat (limited to 'sfx2')
-rwxr-xr-xsfx2/inc/sfx2/sfx.hrc4
-rw-r--r--sfx2/source/dialog/securitypage.cxx2
-rw-r--r--sfx2/source/dialog/securitypage.src8
3 files changed, 1 insertions, 13 deletions
diff --git a/sfx2/inc/sfx2/sfx.hrc b/sfx2/inc/sfx2/sfx.hrc
index 631b0ee0cd..0978783336 100755
--- a/sfx2/inc/sfx2/sfx.hrc
+++ b/sfx2/inc/sfx2/sfx.hrc
@@ -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)
diff --git a/sfx2/source/dialog/securitypage.cxx b/sfx2/source/dialog/securitypage.cxx
index 8058dd919c..ec18d94d68 100644
--- a/sfx2/source/dialog/securitypage.cxx
+++ b/sfx2/source/dialog/securitypage.cxx
@@ -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 );
diff --git a/sfx2/source/dialog/securitypage.src b/sfx2/source/dialog/securitypage.src
index 4818068990..c118e9af4c 100644
--- a/sfx2/source/dialog/securitypage.src
+++ b/sfx2/source/dialog/securitypage.src
@@ -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" ;