summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dialog
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-12-12 10:22:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-12-12 11:59:21 +0000
commitb540899c1ea33d3418e737428b51ea75278d6d4f (patch)
treeff029aaa0352f0e66d4456f97916155375813bdb /sw/source/uibase/dialog
parent7892566b9e7f0c2bfa1c18acd4147de496a58cab (diff)
remove another imagelist
Change-Id: Ica62a13b19134030c6f0e2eeaf41df3c0f1294a4
Diffstat (limited to 'sw/source/uibase/dialog')
-rw-r--r--sw/source/uibase/dialog/regionsw.hrc9
-rw-r--r--sw/source/uibase/dialog/regionsw.src31
2 files changed, 25 insertions, 15 deletions
diff --git a/sw/source/uibase/dialog/regionsw.hrc b/sw/source/uibase/dialog/regionsw.hrc
index bef48c92a349..2b6e9c2ef6b5 100644
--- a/sw/source/uibase/dialog/regionsw.hrc
+++ b/sw/source/uibase/dialog/regionsw.hrc
@@ -31,11 +31,10 @@
#define STR_WRONG_PASSWORD (RC_REGIONSW_BEGIN+11)
#define STR_WRONG_PASSWD_REPEAT (RC_REGIONSW_BEGIN+12)
-//ImageList elements
-#define BMP_HIDE 1
-#define BMP_NO_HIDE 2
-#define BMP_PROT_HIDE 3
-#define BMP_PROT_NO_HIDE 4
+#define RID_BMP_HIDE (RC_REGIONSW_BEGIN+13)
+#define RID_BMP_NO_HIDE (RC_REGIONSW_BEGIN+14)
+#define RID_BMP_PROT_HIDE (RC_REGIONSW_BEGIN+15)
+#define RID_BMP_PROT_NO_HIDE (RC_REGIONSW_BEGIN+16)
#endif
diff --git a/sw/source/uibase/dialog/regionsw.src b/sw/source/uibase/dialog/regionsw.src
index 8558ed38e41f..4a7602f061e9 100644
--- a/sw/source/uibase/dialog/regionsw.src
+++ b/sw/source/uibase/dialog/regionsw.src
@@ -22,35 +22,46 @@
#include "globals.hrc"
#include "helpid.h"
-ImageList IL_SECTION_BITMAPS
+Bitmap RID_BMP_HIDE
{
- Prefix = "re";
- IdList =
- {
- BMP_HIDE /*1*/ ;
- BMP_NO_HIDE /*2*/ ;
- BMP_PROT_HIDE /*3*/ ;
- BMP_PROT_NO_HIDE /*4*/ ;
- };
- IdCount = { 4 ; };
+ File = "re01.png";
+};
+
+Bitmap RID_BMP_NO_HIDE
+{
+ File = "re02.png";
+};
+
+Bitmap RID_BMP_PROT_HIDE
+{
+ File = "re03.png";
+};
+
+Bitmap RID_BMP_PROT_NO_HIDE
+{
+ File = "re04.png";
};
String STR_REG_DUPLICATE
{
Text [ en-US ] = "Section name changed:" ;
};
+
String STR_INFO_DUPLICATE
{
Text [ en-US ] = "Duplicate section name" ;
};
+
String STR_QUERY_CONNECT
{
Text[ en-US ] = "A file connection will delete the contents of the current section. Connect anyway?" ;
};
+
String STR_WRONG_PASSWORD
{
Text [ en-US ] = "The password entered is invalid." ;
};
+
String STR_WRONG_PASSWD_REPEAT
{
Text [ en-US ] = "The password has not been set." ;