diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-03 11:48:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-03 12:55:29 +0000 |
commit | 78f392f30a741ed088c66ff9923f47041277a223 (patch) | |
tree | bf5b61054d78ce36daf192075a5e5ef06638706b /xmloff | |
parent | 82c7ac5637556cde8c77dcf4e75a771cdc587162 (diff) |
loplugin:unusedenumconstants in xmloff
Change-Id: Ie9e6d4aa9dba97d45bf7b8afa2347d34e1651a60
Reviewed-on: https://gerrit.libreoffice.org/33871
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/SchXMLImport.hxx | 2 | ||||
-rw-r--r-- | xmloff/inc/txtfldi.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/draw/sdxmlimp_impl.hxx | 1 | ||||
-rw-r--r-- | xmloff/source/style/TransGradientStyle.cxx | 3 | ||||
-rw-r--r-- | xmloff/source/style/XMLBackgroundImageContext.cxx | 3 | ||||
-rw-r--r-- | xmloff/source/text/XMLSectionExport.hxx | 8 | ||||
-rw-r--r-- | xmloff/source/transform/AttrTransformerAction.hxx | 1 |
7 files changed, 2 insertions, 18 deletions
diff --git a/xmloff/inc/SchXMLImport.hxx b/xmloff/inc/SchXMLImport.hxx index 32037a78d8eb..233ecde5b6c9 100644 --- a/xmloff/inc/SchXMLImport.hxx +++ b/xmloff/inc/SchXMLImport.hxx @@ -96,7 +96,6 @@ enum SchXMLChartAttrMap XML_TOK_CHART_WIDTH, XML_TOK_CHART_HEIGHT, XML_TOK_CHART_STYLE_NAME, - XML_TOK_CHART_ADDIN_NAME, XML_TOK_CHART_COL_MAPPING, XML_TOK_CHART_ROW_MAPPING }; @@ -110,7 +109,6 @@ enum SchXMLPlotAreaAttrTokenMap XML_TOK_PA_STYLE_NAME, XML_TOK_PA_TRANSFORM, XML_TOK_PA_CHART_ADDRESS, - XML_TOK_PA_TABLE_NUMBER_LIST, XML_TOK_PA_DS_HAS_LABELS, XML_TOK_PA_VRP, XML_TOK_PA_VPN, diff --git a/xmloff/inc/txtfldi.hxx b/xmloff/inc/txtfldi.hxx index a93d85a4ae2e..5d2e5c225331 100644 --- a/xmloff/inc/txtfldi.hxx +++ b/xmloff/inc/txtfldi.hxx @@ -95,8 +95,6 @@ enum XMLTextFieldAttrTokens XML_TOK_TEXTFIELD_HREF, XML_TOK_TEXTFIELD_TARGET_FRAME, - XML_TOK_TEXTFIELD_OFFICE_CREATE_DATE, - XML_TOK_TEXTFIELD_OFFICE_AUTHOR, XML_TOK_TEXTFIELD_ANNOTATION, XML_TOK_TEXTFIELD_LANGUAGE, diff --git a/xmloff/source/draw/sdxmlimp_impl.hxx b/xmloff/source/draw/sdxmlimp_impl.hxx index 844d1a800fec..88802df89d70 100644 --- a/xmloff/source/draw/sdxmlimp_impl.hxx +++ b/xmloff/source/draw/sdxmlimp_impl.hxx @@ -54,7 +54,6 @@ enum SdXMLBodyElemTokenMap enum SdXMLStylesElemTokenMap { - XML_TOK_STYLES_MASTER_PAGE, XML_TOK_STYLES_STYLE, XML_TOK_STYLES_PAGE_MASTER, XML_TOK_STYLES_PRESENTATION_PAGE_LAYOUT diff --git a/xmloff/source/style/TransGradientStyle.cxx b/xmloff/source/style/TransGradientStyle.cxx index 5a9d93d0f94a..ebd2b08e1125 100644 --- a/xmloff/source/style/TransGradientStyle.cxx +++ b/xmloff/source/style/TransGradientStyle.cxx @@ -49,8 +49,7 @@ enum SvXMLTokenMapAttrs XML_TOK_GRADIENT_START, XML_TOK_GRADIENT_END, XML_TOK_GRADIENT_ANGLE, - XML_TOK_GRADIENT_BORDER, - XML_TOK_TABSTOP_END=XML_TOK_UNKNOWN + XML_TOK_GRADIENT_BORDER }; SvXMLEnumMapEntry const pXML_GradientStyle_Enum[] = diff --git a/xmloff/source/style/XMLBackgroundImageContext.cxx b/xmloff/source/style/XMLBackgroundImageContext.cxx index 1337227b63ea..c281fb750e79 100644 --- a/xmloff/source/style/XMLBackgroundImageContext.cxx +++ b/xmloff/source/style/XMLBackgroundImageContext.cxx @@ -50,8 +50,7 @@ enum SvXMLTokenMapAttrs XML_TOK_BGIMG_POSITION, XML_TOK_BGIMG_REPEAT, XML_TOK_BGIMG_FILTER, - XML_TOK_BGIMG_OPACITY, - XML_TOK_NGIMG_END=XML_TOK_UNKNOWN + XML_TOK_BGIMG_OPACITY }; static const SvXMLTokenMapEntry* lcl_getBGImgAttributesAttrTokenMap() { diff --git a/xmloff/source/text/XMLSectionExport.hxx b/xmloff/source/text/XMLSectionExport.hxx index c5d52df87dc5..7b60c031ab9f 100644 --- a/xmloff/source/text/XMLSectionExport.hxx +++ b/xmloff/source/text/XMLSectionExport.hxx @@ -48,10 +48,6 @@ namespace com { namespace sun { namespace star { enum SectionTypeEnum { - TEXT_SECTION_TYPE_SECTION, - - // indices: keep index valued together and do not change order, - // because they are used to index into array TEXT_SECTION_TYPE_TOC, TEXT_SECTION_TYPE_TABLE, TEXT_SECTION_TYPE_ILLUSTRATION, @@ -59,10 +55,6 @@ enum SectionTypeEnum TEXT_SECTION_TYPE_USER, TEXT_SECTION_TYPE_ALPHABETICAL, TEXT_SECTION_TYPE_BIBLIOGRAPHY, - - // index header sections: - TEXT_SECTION_TYPE_HEADER, - TEXT_SECTION_TYPE_UNKNOWN }; diff --git a/xmloff/source/transform/AttrTransformerAction.hxx b/xmloff/source/transform/AttrTransformerAction.hxx index 0aef831c7c43..8fbb2548a3cb 100644 --- a/xmloff/source/transform/AttrTransformerAction.hxx +++ b/xmloff/source/transform/AttrTransformerAction.hxx @@ -122,7 +122,6 @@ enum XMLAttrTransformerAction XML_ATACTION_OPACITY_FIX, // converts transparency to opacity and back XML_ATACTION_SHAPEID, // convert shape id XML_ATACTION_USER_DEFINED=0x40000000,// user defined actions start here - XML_ATACTION_END=XML_TACTION_END }; #endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_ATTRTRANSFORMERACTION_HXX |