remove unused enums in reportdesign,linguistic,l10ntools,vcl,svx

Change-Id: I3ae854f9fed485be915ded5bc4d7e93f5db23dc6
Reviewed-on: https://gerrit.libreoffice.org/63891
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin 2018-11-22 08:57:37 +02:00
parent c110bfc810
commit 49b1107b6e
8 changed files with 1 additions and 93 deletions

View file

@ -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

View file

@ -35,11 +35,6 @@ enum class NBOType
Bullets = 1, Numbering, Outline
};
enum class NBType
{
Bullets = 1, GraphicBullets
};
class SVX_DLLPUBLIC NumSettings_Impl
{
public:

View file

@ -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

View file

@ -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

View file

@ -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 };

View file

@ -60,8 +60,6 @@ typedef std::unordered_map<OString, bool>
// 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

View file

@ -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;

View file

@ -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