diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-24 13:42:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-25 08:29:23 +0200 |
commit | be9f45ad69a510185971957e7643fd64b873e98d (patch) | |
tree | 5b7bf5962be52193f64d20ece92b2f433d2ee797 /xmloff/source/draw | |
parent | 834770170248695a4994f879fe627f6d044b2db8 (diff) |
loplugin:unusedenumconstants
Change-Id: If2473097c1c8e66e09238061da9d186d4c8e3d9e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92871
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/draw')
-rw-r--r-- | xmloff/source/draw/animationimport.cxx | 57 | ||||
-rw-r--r-- | xmloff/source/draw/sdxmlimp_impl.hxx | 45 |
2 files changed, 0 insertions, 102 deletions
diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx index e2a6c012e9a3..5ef266dce6af 100644 --- a/xmloff/source/draw/animationimport.cxx +++ b/xmloff/source/draw/animationimport.cxx @@ -123,63 +123,6 @@ AnimationsImportHelperImpl::AnimationsImportHelperImpl( SvXMLImport& rImport ) { } -namespace { - -enum AnimationNodeAttributes -{ - ANA_Begin, - ANA_Dur, - ANA_End, - ANA_Fill, - ANA_FillDefault, - ANA_Restart, - ANA_RestartDefault, - ANA_Accelerate, - ANA_Decelerate, - ANA_AutoReverse, - ANA_RepeatCount, - ANA_RepeatDur, - ANA_EndSync, - ANA_Node_Type, - ANA_Preset_ID, - ANA_Preset_Sub_Type, - ANA_Preset_Class, - ANA_After_Effect, - ANA_Target, - ANA_XLink, - ANA_MasterElement, - ANA_SubItem, - ANA_AttributeName, - ANA_Values, - ANA_From, - ANA_By, - ANA_To, - ANA_KeyTimes, - ANA_CalcMode, - ANA_Accumulate, - ANA_AdditiveMode, - ANA_KeySplines, - ANA_Path, - ANA_ColorSpace, - ANA_ColorDirection, - ANA_TransformType, - ANA_TransitionType, - ANA_TransitionSubType, - ANA_Mode, - ANA_Direction, - ANA_FadeColor, - ANA_IterateType, - ANA_IterateInterval, - ANA_Formula, - ANA_ANIMID, - ANA_XMLID, - ANA_Group_Id, - ANA_Command, - ANA_Volume -}; - -} - static bool isDouble( const OUString& rValue ) { sal_Int32 nLength = rValue.getLength(); diff --git a/xmloff/source/draw/sdxmlimp_impl.hxx b/xmloff/source/draw/sdxmlimp_impl.hxx index 7a43de8ca576..29ffde9a2de4 100644 --- a/xmloff/source/draw/sdxmlimp_impl.hxx +++ b/xmloff/source/draw/sdxmlimp_impl.hxx @@ -30,18 +30,6 @@ #include <vector> #include <xmloff/xmlimp.hxx> -enum SdXMLDocElemTokenMap -{ - XML_TOK_DOC_FONTDECLS, - XML_TOK_DOC_STYLES, - XML_TOK_DOC_AUTOSTYLES, - XML_TOK_DOC_MASTERSTYLES, - XML_TOK_DOC_META, - XML_TOK_DOC_BODY, - XML_TOK_DOC_SCRIPT, - XML_TOK_DOC_SETTINGS, -}; - enum SdXMLBodyElemTokenMap { XML_TOK_BODY_PAGE, @@ -64,18 +52,6 @@ enum SdXMLMasterPageElemTokenMap XML_TOK_MASTERPAGE_NOTES }; -enum SdXMLMasterPageAttrTokenMap -{ - XML_TOK_MASTERPAGE_NAME, - XML_TOK_MASTERPAGE_DISPLAY_NAME, - XML_TOK_MASTERPAGE_PAGE_MASTER_NAME, - XML_TOK_MASTERPAGE_STYLE_NAME, - XML_TOK_MASTERPAGE_PAGE_LAYOUT_NAME, - XML_TOK_MASTERPAGE_USE_HEADER_NAME, - XML_TOK_MASTERPAGE_USE_FOOTER_NAME, - XML_TOK_MASTERPAGE_USE_DATE_TIME_NAME -}; - enum SdXMLPageMasterAttrTokenMap { XML_TOK_PAGEMASTER_NAME @@ -92,27 +68,6 @@ enum SdXMLPageMasterStyleAttrTokenMap XML_TOK_PAGEMASTERSTYLE_PAGE_ORIENTATION }; -enum SdXMLDrawPageAttrTokenMap -{ - XML_TOK_DRAWPAGE_NAME, - XML_TOK_DRAWPAGE_STYLE_NAME, - XML_TOK_DRAWPAGE_MASTER_PAGE_NAME, - XML_TOK_DRAWPAGE_PAGE_LAYOUT_NAME, - XML_TOK_DRAWPAGE_DRAWID, - XML_TOK_DRAWPAGE_XMLID, - XML_TOK_DRAWPAGE_HREF, - XML_TOK_DRAWPAGE_USE_HEADER_NAME, - XML_TOK_DRAWPAGE_USE_FOOTER_NAME, - XML_TOK_DRAWPAGE_USE_DATE_TIME_NAME -}; - -enum SdXMLDrawPageElemTokenMap -{ - XML_TOK_DRAWPAGE_NOTES, - XML_TOK_DRAWPAGE_PAR, - XML_TOK_DRAWPAGE_SEQ, - XML_TOK_DRAWPAGE_LAYER_SET -}; enum SdXMLPresentationPlaceholderAttrTokenMap { |