remove unused defines from HRC files in reportdesign

Change-Id: If7d0b32742395e01bb979ffff9012161b0b7826d
Reviewed-on: https://gerrit.libreoffice.org/35273
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2017-03-16 15:27:45 +02:00
parent 2a2b9b5cc9
commit c20dc44335
5 changed files with 3 additions and 27 deletions

View File

@@ -79,6 +79,7 @@ exclusionSet = set([
"STR_UPDATE_INDEX",
"STR_UPDATE_LINK",
"BMP_PLACEHOLDER_",
"STR_RPT_HELP_"
])
@@ -134,6 +135,8 @@ with a.stdout as txt:
if "sd/source/ui/app/strings.src:" in line2 and idName.endswith("_TOOLBOX"): found_reason_to_exclude = True
# used via a macro that hides them from search
if "dbaccess/" in line2 and idName.startswith("PROPERTY_ID_"): found_reason_to_exclude = True
if "reportdesign/" in line2 and idName.startswith("HID_RPT_PROP_"): found_reason_to_exclude = True
if "reportdesign/" in line2 and idName.startswith("RID_STR_"): found_reason_to_exclude = True
if not found_reason_to_exclude:
sys.stdout.write(idName + '\n')

View File

@@ -66,10 +66,8 @@
#define RID_STR_UNDO_ADDFUNCTION ( RID_STRING_START + 28 )
// other
#define STR_RPT_TITLE ( RID_STRING_START + 32 )
#define STR_RPT_LABEL ( RID_STRING_START + 33 )
#define STR_RPT_EXPRESSION ( RID_STRING_START + 34 )
#define STR_RPT_SORTING ( RID_STRING_START + 35 )
#define STR_RPT_PN_PAGE ( RID_STRING_START + 36 )
#define STR_RPT_PN_PAGE_OF ( RID_STRING_START + 37 )
#define STR_RPT_PREFIXCHARS ( RID_STRING_START + 38 )
@@ -97,8 +95,6 @@
#define RID_STR_BRWTITLE_PROPERTIES ( RID_STRING_START + 60 )
#define RID_STR_BRWTITLE_NO_PROPERTIES ( RID_STRING_START + 61 )
#define RID_STR_BRWTITLE_MULTISELECT ( RID_STRING_START + 62 )
#define STR_SHOW_RULER ( RID_STRING_START + 63 )
#define STR_SHOW_GRID ( RID_STRING_START + 64 )
#define RID_STR_FIELDSELECTION ( RID_STRING_START + 69 )

View File

@@ -175,8 +175,6 @@
#define SID_ARRANGEMENU ( SID_RPTUI_START + 148 )
#define SID_SELECTALL_IN_SECTION ( SID_RPTUI_START + 149 )
#define SID_ICON_DETAIL ( SID_RPTUI_START + 151 )
#define SID_SECTION_ALIGN ( SID_RPTUI_START + 152 )
#define SID_SECTION_ALIGN_LEFT ( SID_RPTUI_START + 153 )
#define SID_SECTION_ALIGN_CENTER ( SID_RPTUI_START + 154 )
@@ -194,7 +192,6 @@
#define SID_SECTION_SHRINK ( SID_RPTUI_START + 163 )
#define SID_SECTION_SHRINK_TOP ( SID_RPTUI_START + 164 )
#define SID_SECTION_SHRINK_BOTTOM ( SID_RPTUI_START + 165 )
#define SID_SECTION_SHRINK_MENU ( SID_RPTUI_START + 166 )
#define SID_COLLAPSE_SECTION ( SID_RPTUI_START + 167 )
#define SID_EXPAND_SECTION ( SID_RPTUI_START + 168 )

View File

@@ -25,11 +25,6 @@ String STR_RPT_EXPRESSION
Text [ en-US ] = "Field/Expression" ;
};
String STR_RPT_SORTING
{
Text [ en-US ] = "Sort Order" ;
};
String STR_RPT_PREFIXCHARS
{
Text [ en-US ] = "Prefix Characters" ;

View File

@@ -102,16 +102,6 @@ Bitmap RID_BMP_TREENODE_EXPANDED
File = "minus.png";
};
String STR_SHOW_RULER
{
Text [ en-US ] = "Show ruler";
};
String STR_SHOW_GRID
{
Text [ en-US ] = "Show grid";
};
String RID_STR_UNDO_CHANGEPOSITION
{
Text [ en-US ] = "Change Object";
@@ -164,11 +154,6 @@ String RID_STR_UNDO_ADDFUNCTION
Text [ en-US ] = "Add function";
};
String STR_RPT_TITLE
{
Text [ en-US ] = "Report #" ;
};
String STR_RPT_LABEL
{
Text [ en-US ] = "~Report name" ;