compilerplugins/clang/unusedenumconstants.untouched.results | 36 ------------ sd/inc/CustomAnimationEffect.hxx | 2 sd/inc/Outliner.hxx | 2 sd/inc/sdenumdef.hxx | 3 - sd/source/ui/inc/RemoteServer.hxx | 1 sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx | 1 6 files changed, 45 deletions(-)
New commits: commit 6c19de47131f15c88eef004ef52babb3d69070d2 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Wed Nov 21 16:00:29 2018 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Nov 23 10:28:32 2018 +0100 remove some dead enums in sd/ Change-Id: I72bfaf2be6939798cd3db21df959b07500751fab Reviewed-on: https://gerrit.libreoffice.org/63754 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/compilerplugins/clang/unusedenumconstants.untouched.results b/compilerplugins/clang/unusedenumconstants.untouched.results index d41fe9284f19..7404d91512c0 100644 --- a/compilerplugins/clang/unusedenumconstants.untouched.results +++ b/compilerplugins/clang/unusedenumconstants.untouched.results @@ -326,42 +326,6 @@ sc/source/ui/inc/autofmt.hxx:33 enum AutoFmtLine TOP_LINE sc/source/ui/StatisticsDialogs/RegressionDialog.cxx:105 enum (anonymous namespace)::ScRegType LINEAR -sd/inc/CustomAnimationEffect.hxx:212 - enum sd::ESequenceHint EFFECT_ADDED -sd/inc/CustomAnimationEffect.hxx:212 - enum sd::ESequenceHint EFFECT_REMOVED -sd/inc/CustomAnimationEffect.hxx:212 - enum sd::ESequenceHint EFFECT_EDITED -sd/inc/Outliner.hxx:185 - enum SdOutliner::ChangeHint CH_VIEW_SHELL_VALID -sd/inc/Outliner.hxx:185 - enum SdOutliner::ChangeHint CH_VIEW_SHELL_INVALID -sd/inc/sdenumdef.hxx:23 - enum OutputType OUTPUT_PAGE -sd/inc/sdenumdef.hxx:23 - enum OutputType OUTPUT_ORIGINAL -sd/inc/sdenumdef.hxx:23 - enum OutputType OUTPUT_SLIDE -sd/inc/sdenumdef.hxx:23 - enum OutputType OUTPUT_OVERHEAD -sd/inc/sdenumdef.hxx:23 - enum OutputType OUTPUT_WIDESCREEN -sd/inc/sdenumdef.hxx:23 - enum OutputType OUTPUT_PRESENTATION -sd/inc/sdenumdef.hxx:24 - enum StartType ST_EMPTY -sd/inc/sdenumdef.hxx:24 - enum StartType ST_TEMPLATE -sd/inc/sdenumdef.hxx:24 - enum StartType ST_OPEN -sd/source/ui/inc/RemoteServer.hxx:42 - enum sd::ClientInfo::PROTOCOL NETWORK -sd/source/ui/inc/RemoteServer.hxx:42 - enum sd::ClientInfo::PROTOCOL BLUETOOTH -sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx:45 - enum sd::slidesorter::view::InsertAnimator::ResetMode RM_AbortAnimations -sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx:45 - enum sd::slidesorter::view::InsertAnimator::ResetMode RM_Normal svx/inc/sxmkitm.hxx:25 enum SdrMeasureKind SDRMEASURE_RADIUS sw/inc/docary.hxx:74 diff --git a/sd/inc/CustomAnimationEffect.hxx b/sd/inc/CustomAnimationEffect.hxx index 0319e9ea8669..d3d6be34d9b1 100644 --- a/sd/inc/CustomAnimationEffect.hxx +++ b/sd/inc/CustomAnimationEffect.hxx @@ -209,8 +209,6 @@ struct stl_CustomAnimationEffect_search_node_predict const css::uno::Reference< css::animations::XAnimationNode >& mxSearchNode; }; -enum ESequenceHint { EFFECT_EDITED, EFFECT_REMOVED, EFFECT_ADDED }; - /** this listener is implemented by UI components to track changes in the animation core */ class ISequenceListener { diff --git a/sd/inc/Outliner.hxx b/sd/inc/Outliner.hxx index 7f25e9a0fcf4..5f4056fdb556 100644 --- a/sd/inc/Outliner.hxx +++ b/sd/inc/Outliner.hxx @@ -182,8 +182,6 @@ public: /** Release all resources that have been created during the conversion */ void EndConversion(); - enum ChangeHint { CH_VIEW_SHELL_INVALID, CH_VIEW_SHELL_VALID }; - int GetIgnoreCurrentPageChangesLevel() const { return mnIgnoreCurrentPageChangesLevel; }; void IncreIgnoreCurrentPageChangesLevel() { mnIgnoreCurrentPageChangesLevel++; }; void DecreIgnoreCurrentPageChangesLevel() { mnIgnoreCurrentPageChangesLevel--; }; diff --git a/sd/inc/sdenumdef.hxx b/sd/inc/sdenumdef.hxx index f6ed689f2e93..cb9f9a8def34 100644 --- a/sd/inc/sdenumdef.hxx +++ b/sd/inc/sdenumdef.hxx @@ -20,9 +20,6 @@ #ifndef INCLUDED_SD_INC_SDENUMDEF_HXX #define INCLUDED_SD_INC_SDENUMDEF_HXX -enum OutputType { OUTPUT_PAGE, OUTPUT_OVERHEAD, OUTPUT_SLIDE, OUTPUT_PRESENTATION, OUTPUT_ORIGINAL, OUTPUT_WIDESCREEN }; -enum StartType { ST_EMPTY, ST_TEMPLATE, ST_OPEN }; - #define RET_SNAP_DELETE 111 enum SnapKind { SK_HORIZONTAL, SK_VERTICAL, SK_POINT }; diff --git a/sd/source/ui/inc/RemoteServer.hxx b/sd/source/ui/inc/RemoteServer.hxx index 88962404848c..cd8fa1a0ad24 100644 --- a/sd/source/ui/inc/RemoteServer.hxx +++ b/sd/source/ui/inc/RemoteServer.hxx @@ -39,7 +39,6 @@ namespace sd bool const mbIsAlreadyAuthorised; - enum PROTOCOL { NETWORK = 1, BLUETOOTH }; ClientInfo( const OUString& rName, const bool bIsAlreadyAuthorised ) : mName( rName ), diff --git a/sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx b/sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx index 1ea823aef19c..b19905c5b4ef 100644 --- a/sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx +++ b/sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx @@ -42,7 +42,6 @@ public: */ void SetInsertPosition (const InsertPosition& rInsertPosition); - enum ResetMode { RM_Normal, RM_AbortAnimations }; /** Restore the normal position of all page objects. @param eMode This flag controls whether to start an animation that ends in the _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits