diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-16 16:08:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-18 11:02:45 +0000 |
commit | e592877844573fa5ab934b7ab3b13aaa33ed621d (patch) | |
tree | 37138edadc35f0fe1a4ee87bcce66e4d756af469 /xmloff | |
parent | 17d7ac5c1a06d29cbeeb3efd245ebf2e6725da12 (diff) |
loplugin:unusedenumvalues
Change-Id: Icf17f936ce6d07d0e152252833c8645cf9b1163b
Reviewed-on: https://gerrit.libreoffice.org/28942
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/SchXMLImport.hxx | 6 | ||||
-rw-r--r-- | xmloff/source/draw/sdxmlimp_impl.hxx | 19 | ||||
-rw-r--r-- | xmloff/source/transform/FamilyType.hxx | 1 | ||||
-rw-r--r-- | xmloff/source/transform/StyleOOoTContext.cxx | 1 |
4 files changed, 0 insertions, 27 deletions
diff --git a/xmloff/inc/SchXMLImport.hxx b/xmloff/inc/SchXMLImport.hxx index aedb91f86324..645b683e96a9 100644 --- a/xmloff/inc/SchXMLImport.hxx +++ b/xmloff/inc/SchXMLImport.hxx @@ -124,12 +124,6 @@ enum SchXMLPlotAreaAttrTokenMap XML_TOK_PA_LIGHTING_MODE }; -enum SchXMLAutoStyleAttrMap -{ - XML_TOK_AS_FAMILY, - XML_TOK_AS_NAME -}; - enum SchXMLCellAttrMap { XML_TOK_CELL_VAL_TYPE, diff --git a/xmloff/source/draw/sdxmlimp_impl.hxx b/xmloff/source/draw/sdxmlimp_impl.hxx index d2d9fdf2862f..1fc6e3efec80 100644 --- a/xmloff/source/draw/sdxmlimp_impl.hxx +++ b/xmloff/source/draw/sdxmlimp_impl.hxx @@ -61,11 +61,6 @@ enum SdXMLStylesElemTokenMap XML_TOK_STYLES_PRESENTATION_PAGE_LAYOUT }; -enum SdXMLAutoStylesElemTokenMap -{ - XML_TOK_AUTOSTYLES_STYLE -}; - enum SdXMLMasterPageElemTokenMap { XML_TOK_MASTERPAGE_STYLE, @@ -100,20 +95,6 @@ enum SdXMLPageMasterStyleAttrTokenMap XML_TOK_PAGEMASTERSTYLE_PAGE_ORIENTATION }; -enum SdXMLDocStyleAttrTokenMap -{ - XML_TOK_DOCSTYLE_NAME, - XML_TOK_DOCSTYLE_FAMILY, - XML_TOK_DOCSTYLE_PARENT_STYLE_NAME, - XML_TOK_DOCSTYLE_AUTOMATIC -}; - -enum SdXMLDocStyleElemTokenMap -{ - XML_TOK_DOCSTYLE_PROPERTIES, - XML_TOK_DOCSTYLE_PRESENTATION_PLACEHOLDER -}; - enum SdXMLDrawPageAttrTokenMap { XML_TOK_DRAWPAGE_NAME, diff --git a/xmloff/source/transform/FamilyType.hxx b/xmloff/source/transform/FamilyType.hxx index cbc825d049a9..4cc58d14a9c7 100644 --- a/xmloff/source/transform/FamilyType.hxx +++ b/xmloff/source/transform/FamilyType.hxx @@ -44,7 +44,6 @@ enum XMLFamilyType XML_FAMILY_TYPE_FILL_IMAGE, XML_FAMILY_TYPE_STROKE_DASH, XML_FAMILY_TYPE_MARKER, - XML_FAMILY_TYPE_PRESENTATION_PAGE_LAYOUT, XML_FAMILY_TYPE_END }; diff --git a/xmloff/source/transform/StyleOOoTContext.cxx b/xmloff/source/transform/StyleOOoTContext.cxx index 194ce97f67d4..c7429cc00277 100644 --- a/xmloff/source/transform/StyleOOoTContext.cxx +++ b/xmloff/source/transform/StyleOOoTContext.cxx @@ -85,7 +85,6 @@ static const XMLPropType aPropTypes[XML_FAMILY_TYPE_END][MAX_PROP_TYPES] = ENTRY1( END ), // XML_FAMILY_TYPE_FILL_IMAGE, ENTRY1( END ), // XML_FAMILY_TYPE_STROKE_DASH, ENTRY1( END ), // XML_FAMILY_TYPE_MARKER, - ENTRY1( END ) // XML_FAMILY_TYPE_PRESENTATION_PAGE_LAYOUT, }; static const XMLTokenEnum aPropTokens[XML_PROP_TYPE_END] = |