diff --git a/compilerplugins/clang/unusedenumconstants.untouched.results b/compilerplugins/clang/unusedenumconstants.untouched.results index e038f28ec873f9886692123da188129b911e8d77..76fb5a7d19e240a2f7b13efb0a81a4ac0d13c3c6 100644 --- a/compilerplugins/clang/unusedenumconstants.untouched.results +++ b/compilerplugins/clang/unusedenumconstants.untouched.results @@ -178,14 +178,6 @@ include/oox/ole/axfontdata.hxx:40 enum AxFontFlags AutoColor include/oox/ppt/animationspersist.hxx:43 enum oox::ppt::(anonymous at /home/noel/libo2/include/oox/ppt/animationspersist.hxx:36:5) NP_ENDSYNC -include/svx/nbdtmg.hxx:40 - enum svx::sidebar::NBType Bullets -include/svx/nbdtmg.hxx:40 - enum svx::sidebar::NBType GraphicBullets -include/svx/xenum.hxx:27 - enum XBitmapType Import -include/svx/xenum.hxx:27 - enum XBitmapType N8x8 include/unotools/eventcfg.hxx:29 enum GlobalEventId STARTAPP include/unotools/eventcfg.hxx:30 @@ -222,64 +214,12 @@ include/vcl/keycod.hxx:33 enum KeyFuncType PROPERTIES include/vcl/keycod.hxx:33 enum KeyFuncType FINDBACKWARD -include/vcl/pdfwriter.hxx:201 - enum vcl::PDFWriter::WidgetState Up -include/vcl/pdfwriter.hxx:201 - enum vcl::PDFWriter::WidgetState Down include/vcl/syswin.hxx:54 enum WindowStateState FullScreen -include/vcl/vclenum.hxx:191 - enum FontAutoHint DontKnow -include/vcl/vclenum.hxx:191 - enum FontAutoHint Yes -include/vcl/vclenum.hxx:191 - enum FontAutoHint No -include/vcl/vclenum.hxx:193 - enum FontHinting DontKnow -include/vcl/vclenum.hxx:193 - enum FontHinting No -include/vcl/vclenum.hxx:193 - enum FontHinting Yes -include/vcl/vclenum.hxx:195 - enum FontHintStyle Slight -include/vcl/vclenum.hxx:195 - enum FontHintStyle Medium -include/vcl/vclenum.hxx:195 - enum FontHintStyle Full -l10ntools/inc/export.hxx:63 - enum IdLevel Identifier -l10ntools/inc/export.hxx:63 - enum IdLevel Null -l10ntools/inc/export.hxx:63 - enum IdLevel Text -l10ntools/inc/export.hxx:85 - enum ExportListType Filter -l10ntools/inc/export.hxx:85 - enum ExportListType String -l10ntools/inc/export.hxx:85 - enum ExportListType Item -l10ntools/inc/export.hxx:85 - enum ExportListType Paired -l10ntools/inc/export.hxx:89 - enum StringType QuickHelpText -l10ntools/inc/export.hxx:89 - enum StringType Text -l10ntools/inc/export.hxx:89 - enum StringType Title libreofficekit/qa/gtktiledviewer/gtv-lok-dialog.cxx:61 enum (anonymous at /home/noel/libo2/libreofficekit/qa/gtktiledviewer/gtv-lok-dialog.cxx:59:1) PROP_0 libreofficekit/source/gtk/lokdocview.cxx:287 enum (anonymous at /home/noel/libo2/libreofficekit/source/gtk/lokdocview.cxx:285:1) PROP_0 -linguistic/source/defs.hxx:85 - enum LinguDispatcher::DspType DSP_GRAMMAR -linguistic/source/defs.hxx:85 - enum LinguDispatcher::DspType DSP_THES -linguistic/source/defs.hxx:85 - enum LinguDispatcher::DspType DSP_HYPH -linguistic/source/defs.hxx:85 - enum LinguDispatcher::DspType DSP_SPELL -reportdesign/source/ui/inc/ReportDefines.hxx:24 - enum rptui::DlgEdMode Test sc/source/filter/excel/xiescher.cxx:460 enum (anonymous at /home/noel/libo2/sc/source/filter/excel/xiescher.cxx:460:17) eCreateFromOffice sc/source/filter/inc/decl.h:24 diff --git a/include/svx/nbdtmg.hxx b/include/svx/nbdtmg.hxx index 9379d1da9282e0458b18d643534c9799af53422d..f6d085902db58643bd4899b20eca6ecde84a43bf 100644 --- a/include/svx/nbdtmg.hxx +++ b/include/svx/nbdtmg.hxx @@ -35,11 +35,6 @@ enum class NBOType Bullets = 1, Numbering, Outline }; -enum class NBType -{ - Bullets = 1, GraphicBullets -}; - class SVX_DLLPUBLIC NumSettings_Impl { public: diff --git a/include/svx/xenum.hxx b/include/svx/xenum.hxx index c17551586f2874c92ca9abeecef6536c84a0450f..f3620bdfa194884f30ce3d7b83cb9d093caeae5b 100644 --- a/include/svx/xenum.hxx +++ b/include/svx/xenum.hxx @@ -24,7 +24,6 @@ enum class XFormTextStyle { Rotate, Upright, SlantX, SlantY, NONE }; enum class XFormTextAdjust { Left, Right, AutoSize, Center }; enum class XFormTextShadow { NONE, Normal, Slant }; -enum class XBitmapType { Import, N8x8 }; #endif // INCLUDED_SVX_XENUM_HXX diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx index 751f698892f13a708226c86d974f16051f28d358..3029202f959a57262c96f1613838e8763e8670e2 100644 --- a/include/vcl/pdfwriter.hxx +++ b/include/vcl/pdfwriter.hxx @@ -194,13 +194,6 @@ public: Signature }; - enum WidgetState - { - // PushButton, RadioButton, CheckBox; Down means selected for - // RadioButton and CheckBox - Up, Down - }; - enum ErrorCode { // transparent object occurred and was draw opaque because diff --git a/include/vcl/vclenum.hxx b/include/vcl/vclenum.hxx index 03e2c4661aff4f57e0e84823271fb59cb9fcd240..4ada41058a2255f15c0a9a8f7f8ce8a534d9a571 100644 --- a/include/vcl/vclenum.hxx +++ b/include/vcl/vclenum.hxx @@ -188,12 +188,6 @@ enum class LineStyle enum class RasterOp { OverPaint, Xor, N0, N1, Invert }; -enum class FontAutoHint { DontKnow, No, Yes }; - -enum class FontHinting { DontKnow, No, Yes }; - -enum class FontHintStyle { NONE, Slight, Medium, Full }; - typedef sal_uInt32 sal_UCS4; // TODO: this should be moved to rtl enum class OutDevSupportType { TransparentRect, B2DDraw }; diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx index c2d43b75a60ca39a443e0e745b1eb0d3bd8b1576..ed23eaf472c672547e184eb02b744aa909210a80 100644 --- a/l10ntools/inc/export.hxx +++ b/l10ntools/inc/export.hxx @@ -60,8 +60,6 @@ typedef std::unordered_map // class ResData -enum class IdLevel { Null=0, Text=2, Identifier=5 }; - /// Purpose: holds mandatory data to export a single res class ResData { @@ -81,15 +79,6 @@ public: // class Export -enum class ExportListType { - NONE, String, Filter, Item, Paired -}; - -enum class StringType { - Text, QuickHelpText, Title -}; - - class ParserQueue; // class MergeEntrys diff --git a/linguistic/source/defs.hxx b/linguistic/source/defs.hxx index c39740e01d65e4f25ba443c3d9181a6aefc5729c..38909e82362ccc39cfc213e8e93720450e770872 100644 --- a/linguistic/source/defs.hxx +++ b/linguistic/source/defs.hxx @@ -82,8 +82,6 @@ struct LangSvcEntries_Thes : public LangSvcEntries class LinguDispatcher { public: - enum DspType { DSP_SPELL, DSP_HYPH, DSP_THES, DSP_GRAMMAR }; - virtual void SetServiceList( const css::lang::Locale &rLocale, const css::uno::Sequence< OUString > &rSvcImplNames ) = 0; virtual css::uno::Sequence< OUString > GetServiceList( const css::lang::Locale &rLocale ) const = 0; diff --git a/reportdesign/source/ui/inc/ReportDefines.hxx b/reportdesign/source/ui/inc/ReportDefines.hxx index 1b8438f12729acf1266a0b20f597aba8bed937b5..c56e208419f8b6782f3ae79c7a3998ac1f8de3bc 100644 --- a/reportdesign/source/ui/inc/ReportDefines.hxx +++ b/reportdesign/source/ui/inc/ReportDefines.hxx @@ -21,7 +21,7 @@ namespace rptui { - enum class DlgEdMode { Insert, Select, Test }; + enum class DlgEdMode { Insert, Select }; #define REPORT_STARTMARKER_WIDTH 120 #define REPORT_ENDMARKER_WIDTH 10