summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-03 11:48:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-03 12:55:29 +0000
commit78f392f30a741ed088c66ff9923f47041277a223 (patch)
treebf5b61054d78ce36daf192075a5e5ef06638706b /xmloff/source
parent82c7ac5637556cde8c77dcf4e75a771cdc587162 (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/source')
-rw-r--r--xmloff/source/draw/sdxmlimp_impl.hxx1
-rw-r--r--xmloff/source/style/TransGradientStyle.cxx3
-rw-r--r--xmloff/source/style/XMLBackgroundImageContext.cxx3
-rw-r--r--xmloff/source/text/XMLSectionExport.hxx8
-rw-r--r--xmloff/source/transform/AttrTransformerAction.hxx1
5 files changed, 2 insertions, 14 deletions
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