diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-03 08:46:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-03 08:59:39 +0000 |
commit | f4826959c1a5b0e6d2849d4240668b2087582848 (patch) | |
tree | 32589cbf4cbdcd20ff09417f4906f10fc7a4525f /xmloff/source/transform | |
parent | 83721f4365d234b62f9e3517345c8d3fda19f2c6 (diff) |
new loplugin:unusedenumconstants
These are the simple removals, where it is obviously safe,
the more complex ones will come in separate commits
Change-Id: I7211945a6a5576354b60d9c709940ce9b674f308
Reviewed-on: https://gerrit.libreoffice.org/33828
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/transform')
-rw-r--r-- | xmloff/source/transform/ElemTransformerAction.hxx | 3 | ||||
-rw-r--r-- | xmloff/source/transform/PropertyActionsOASIS.hxx | 3 | ||||
-rw-r--r-- | xmloff/source/transform/PropertyActionsOOo.hxx | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/xmloff/source/transform/ElemTransformerAction.hxx b/xmloff/source/transform/ElemTransformerAction.hxx index 68deafde51cf..243017721de3 100644 --- a/xmloff/source/transform/ElemTransformerAction.hxx +++ b/xmloff/source/transform/ElemTransformerAction.hxx @@ -87,8 +87,7 @@ enum XMLElemTransformerAction XML_ETACTION_MOVE_TO_ATTR_RNG2ISO_DATETIME, // turn elem into an attr and convert . to , in datetimes // - param1: namespace + // token of local name - XML_ETACTION_USER_DEFINED=0x40000000,// user defined actions start here - XML_ETACTION_END=XML_TACTION_END + XML_ETACTION_USER_DEFINED=0x40000000// user defined actions start here }; #endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_ELEMTRANSFORMERACTION_HXX diff --git a/xmloff/source/transform/PropertyActionsOASIS.hxx b/xmloff/source/transform/PropertyActionsOASIS.hxx index dcf51cb02772..5d4864cd6d82 100644 --- a/xmloff/source/transform/PropertyActionsOASIS.hxx +++ b/xmloff/source/transform/PropertyActionsOASIS.hxx @@ -46,8 +46,7 @@ enum XMLPropOASISTransformerAction XML_OPTACTION_CONTROL_TEXT_ALIGN, XML_OPTACTION_DRAW_WRITING_MODE, XML_ATACTION_CAPTION_ESCAPE_OASIS, - XML_ATACTION_DECODE_PROTECT, - XML_OPTACTION_END=XML_ATACTION_END + XML_ATACTION_DECODE_PROTECT }; extern XMLTransformerActionInit aGraphicPropertyOASISAttrActionTable[]; diff --git a/xmloff/source/transform/PropertyActionsOOo.hxx b/xmloff/source/transform/PropertyActionsOOo.hxx index 01c928936910..5a08eba72002 100644 --- a/xmloff/source/transform/PropertyActionsOOo.hxx +++ b/xmloff/source/transform/PropertyActionsOOo.hxx @@ -44,8 +44,7 @@ enum XMLPropOOOTransformerAction XML_ATACTION_SIZE_PROTECT, XML_ATACTION_PROTECT, // No image transparency info in label document (#i50322#) - XML_ATACTION_WRITER_BACK_GRAPHIC_TRANSPARENCY, - XML_PTACTION_END=XML_TACTION_END + XML_ATACTION_WRITER_BACK_GRAPHIC_TRANSPARENCY }; extern XMLTransformerActionInit aGraphicPropertyOOoAttrActionTable[]; |