diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-13 14:33:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-14 08:37:44 +0000 |
commit | f645294d3959ab204ac0efb6619e74b5ba85efa6 (patch) | |
tree | 3437361d64d2df1b1849f1adfb0bf01fbd876d88 /reportdesign | |
parent | cbb2e6b76868d5c67a713b68310b44be59bfab3e (diff) |
remove unused RID constants
found with the attached bin/find-unused-rid.py script
Change-Id: I1cf79caa6cafedb8bc642f394dc7e7da889d6fdf
Reviewed-on: https://gerrit.libreoffice.org/35136
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/inc/RptResId.hrc | 13 | ||||
-rw-r--r-- | reportdesign/source/core/inc/core_resource.hrc | 3 | ||||
-rw-r--r-- | reportdesign/source/core/resource/strings.src | 5 | ||||
-rw-r--r-- | reportdesign/source/ui/report/report.src | 57 |
4 files changed, 1 insertions, 77 deletions
diff --git a/reportdesign/inc/RptResId.hrc b/reportdesign/inc/RptResId.hrc index 9ea0cf255b3b..154e0c36a506 100644 --- a/reportdesign/inc/RptResId.hrc +++ b/reportdesign/inc/RptResId.hrc @@ -52,8 +52,6 @@ // undo strings #define RID_STR_UNDO_REMOVE_REPORTHEADERFOOTER ( RID_STRING_START + 11 ) #define RID_STR_UNDO_ADD_REPORTHEADERFOOTER ( RID_STRING_START + 12 ) -#define RID_STR_UNDO_REMOVE_PAGEHEADERFOOTER ( RID_STRING_START + 13 ) -#define RID_STR_UNDO_ADD_PAGEHEADERFOOTER ( RID_STRING_START + 14 ) #define RID_STR_UNDO_PROPERTY ( RID_STRING_START + 15 ) #define RID_STR_UNDO_REMOVE_GROUP ( RID_STRING_START + 16 ) #define RID_STR_UNDO_APPEND_GROUP ( RID_STRING_START + 17 ) @@ -64,15 +62,9 @@ #define RID_STR_UNDO_CHANGE_SIZE ( RID_STRING_START + 22 ) #define RID_STR_UNDO_INSERT_CONTROL ( RID_STRING_START + 23 ) #define RID_STR_UNDO_DELETE_CONTROL ( RID_STRING_START + 24 ) -#define RID_STR_UNDO_GROUP ( RID_STRING_START + 25 ) -#define RID_STR_UNDO_UNGROUP ( RID_STRING_START + 26 ) #define RID_STR_UNDO_CHANGEPOSITION ( RID_STRING_START + 27 ) #define RID_STR_UNDO_ADDFUNCTION ( RID_STRING_START + 28 ) -#define RID_STR_UNDO_DELETEFUNCTION ( RID_STRING_START + 29 ) -// title of tab pages -#define RID_STR_DESIGN_VIEW ( RID_STRING_START + 30 ) -#define RID_STR_PREVIEW_VIEW ( RID_STRING_START + 31 ) // other #define STR_RPT_TITLE ( RID_STRING_START + 32 ) #define STR_RPT_LABEL ( RID_STRING_START + 33 ) @@ -140,11 +132,9 @@ #define RID_STR_BACKCOLOR (RID_STRING_START + 93) #define RID_STR_PRINTREPEATEDVALUES (RID_STRING_START + 94) #define RID_STR_CONDITIONALPRINTEXPRESSION (RID_STRING_START + 95) -#define RID_STR_COLUMNHEADERFOOTER_INSERT (RID_STRING_START + 96) #define RID_STR_STARTNEWCOLUMN (RID_STRING_START + 97) #define RID_STR_STARTNEWPAGE (RID_STRING_START + 98) #define RID_STR_RESETPAGENUMBER (RID_STRING_START + 99) -#define RID_STR_COLUMNHEADERFOOTER_DELETE (RID_STRING_START + 100) #define RID_STR_PRINTWHENGROUPCHANGE (RID_STRING_START + 102) #define RID_STR_REPORTHEADERFOOTER_INSERT (RID_STRING_START + 103) #define RID_STR_REPORTHEADERFOOTER_DELETE (RID_STRING_START + 104) @@ -159,8 +149,6 @@ #define RID_STR_REPORT_HEADER (RID_STRING_START + 112) #define RID_STR_REPORT_FOOTER (RID_STRING_START + 113) #define RID_STR_SCOPE_GROUP (RID_STRING_START + 114) -#define RID_APP_TITLE (RID_STRING_START + 115) -#define RID_APP_NEW_DOC (RID_STRING_START + 116) #define RID_STR_UNDO_ALIGNMENT (RID_STRING_START + 117) #define RID_STR_HEADER (RID_STRING_START + 118) #define RID_STR_FOOTER (RID_STRING_START + 119) @@ -230,7 +218,6 @@ #define RID_SVXBMP_ICON_DETAIL (RID_BITMAP_START + 16) #define RID_BMP_TREENODE_COLLAPSED (RID_BITMAP_START + 17) #define RID_BMP_TREENODE_EXPANDED (RID_BITMAP_START + 18) -#define RID_BMP_REPORT_TREE_ICON (RID_BITMAP_START + 19) // untyped --------------------------------------------------------------------- #define RID_STR_BOOL (RID_UNTYPED_START + 0 ) diff --git a/reportdesign/source/core/inc/core_resource.hrc b/reportdesign/source/core/inc/core_resource.hrc index ead77509b5dd..9b4e58889fe5 100644 --- a/reportdesign/source/core/inc/core_resource.hrc +++ b/reportdesign/source/core/inc/core_resource.hrc @@ -30,12 +30,11 @@ #define RID_STR_PAGE_FOOTER ( RID_CORE_STRINGS_START + 2 ) #define RID_STR_REPORT_HEADER ( RID_CORE_STRINGS_START + 3 ) #define RID_STR_REPORT_FOOTER ( RID_CORE_STRINGS_START + 4 ) -#define RID_STR_PROPERTY_CHANGE_NOT_ALLOWED ( RID_CORE_STRINGS_START + 5 ) #define RID_STR_ERROR_WRONG_ARGUMENT ( RID_CORE_STRINGS_START + 6 ) #define RID_STR_ARGUMENT_IS_NULL ( RID_CORE_STRINGS_START + 7 ) #define RID_STR_SHAPE ( RID_CORE_STRINGS_START + 8 ) #define RID_STR_REPORT ( RID_CORE_STRINGS_START + 9 ) -#define RID_STR_IMAGECONTROL ( RID_CORE_STRINGS_START + 10 ) +#define RID_STR_IMAGECONTROL ( RID_CORE_STRINGS_START + 10 ) #define RID_STR_FIXEDTEXT ( RID_CORE_STRINGS_START + 11 ) #define RID_STR_FORMATTEDFIELD ( RID_CORE_STRINGS_START + 12 ) #define RID_STR_GROUP_HEADER ( RID_CORE_STRINGS_START + 13 ) diff --git a/reportdesign/source/core/resource/strings.src b/reportdesign/source/core/resource/strings.src index 8ac0dd712e85..027f30415769 100644 --- a/reportdesign/source/core/resource/strings.src +++ b/reportdesign/source/core/resource/strings.src @@ -54,11 +54,6 @@ String RID_STR_REPORT_FOOTER Text [ en-US ] = "Report Footer"; }; -String RID_STR_PROPERTY_CHANGE_NOT_ALLOWED -{ - Text [ en-US ] = "The name '#1' already exists and cannot be assigned again."; -}; - String RID_STR_ERROR_WRONG_ARGUMENT { Text [ en-US ] = "You tried to set an illegal argument. Please have a look at '#1' for valid arguments."; diff --git a/reportdesign/source/ui/report/report.src b/reportdesign/source/ui/report/report.src index 84250e7d551f..5303dcf68167 100644 --- a/reportdesign/source/ui/report/report.src +++ b/reportdesign/source/ui/report/report.src @@ -134,16 +134,6 @@ String RID_STR_UNDO_ADD_REPORTHEADERFOOTER Text [ en-US ] = "Add report header / report footer"; }; -String RID_STR_UNDO_REMOVE_PAGEHEADERFOOTER -{ - Text [ en-US ] = "Remove page header / page footer"; -}; - -String RID_STR_UNDO_ADD_PAGEHEADERFOOTER -{ - Text [ en-US ] = "Add page header / page footer"; -}; - String RID_STR_UNDO_PROPERTY { Text [ en-US ] = "Change property '#'"; @@ -174,21 +164,6 @@ String RID_STR_UNDO_ADDFUNCTION Text [ en-US ] = "Add function"; }; -String RID_STR_UNDO_DELETEFUNCTION -{ - Text [ en-US ] = "Delete function"; -}; - -String RID_STR_DESIGN_VIEW -{ - Text [ en-US ] = "Design"; -}; - -String RID_STR_PREVIEW_VIEW -{ - Text [ en-US ] = "Preview"; -}; - String STR_RPT_TITLE { Text [ en-US ] = "Report #" ; @@ -238,16 +213,6 @@ String RID_STR_UNDO_DELETE_CONTROL Text [ en-US ] = "Delete Control" ; }; -String RID_STR_UNDO_GROUP -{ - Text [ en-US ] = "Insert Group" ; -}; - -String RID_STR_UNDO_UNGROUP -{ - Text [ en-US ] = "Delete Group" ; -}; - String RID_STR_GROUPHEADER { Text [ en-US ] = "GroupHeader"; @@ -269,15 +234,6 @@ String RID_STR_FILTER Text [ en-US ] = "Filter" ; }; -String RID_APP_TITLE -{ - Text [ en-US ] = " - %PRODUCTNAME Base Report" ; -}; - -String RID_APP_NEW_DOC -{ - Text [ en-US ] = "Untitled" ; -}; String RID_STR_UNDO_ALIGNMENT { Text [ en-US ] = "Change Alignment" ; @@ -305,11 +261,6 @@ String RID_STR_FUNCTION Text [ en-US ] = "Function" ; }; -Bitmap RID_BMP_REPORT_TREE_ICON -{ - File = "report_16"; -}; - String RID_STR_COULD_NOT_CREATE_REPORT { Text [ en-US ] = "An error occurred while creating the report." ; @@ -334,14 +285,6 @@ String RID_STR_PAGEHEADERFOOTER_DELETE { Text [ en-US ] = "Delete Page Header/Footer"; }; -String RID_STR_COLUMNHEADERFOOTER_INSERT -{ - Text [ en-US ] = "Insert Column Header/Footer"; -}; -String RID_STR_COLUMNHEADERFOOTER_DELETE -{ - Text [ en-US ] = "Delete Column Header/Footer"; -}; String RID_STR_REPORTHEADERFOOTER_INSERT { Text [ en-US ] = "Insert Report Header/Footer"; |