From f4826959c1a5b0e6d2849d4240668b2087582848 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 3 Feb 2017 08:46:48 +0200 Subject: 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 Reviewed-by: Noel Grandin --- xmloff/source/transform/ElemTransformerAction.hxx | 3 +-- xmloff/source/transform/PropertyActionsOASIS.hxx | 3 +-- xmloff/source/transform/PropertyActionsOOo.hxx | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'xmloff/source/transform') 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[]; -- cgit