summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-18 08:57:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-19 07:49:33 +0100
commitbe359b156b2be7624121a2f2ec5bc6c2d6a195a8 (patch)
treecd34dff8c2c29abe499f4bffb1b454a70d12dd67 /include
parentdbb50f3fe9692dc0ccd7225158fad353e7eab0b5 (diff)
loplugin:unusedenumconstants
Change-Id: I9dc4b369872a7c6c076ae9be1dcdf2f8385af8a7 Reviewed-on: https://gerrit.libreoffice.org/46684 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/editdata.hxx4
-rw-r--r--include/svl/hint.hxx3
-rw-r--r--include/svx/cube3d.hxx16
-rw-r--r--include/svx/deflt3d.hxx2
-rw-r--r--include/vcl/throbber.hxx2
5 files changed, 2 insertions, 25 deletions
diff --git a/include/editeng/editdata.hxx b/include/editeng/editdata.hxx
index 9e71c81a2dd8..ced6ab6287dd 100644
--- a/include/editeng/editdata.hxx
+++ b/include/editeng/editdata.hxx
@@ -35,8 +35,8 @@ enum class HtmlTokenId : sal_Int16;
enum class EETextFormat { Text = 0x20, Rtf, Html = 0x32, Xml };
enum class EEHorizontalTextDirection { Default, L2R, R2L };
-enum class EESelectionMode { Std, TxtOnly, Hidden };
- // EE_SELMODE_HIDDEN can be used to completely hide the selection. This is useful e.g. when you want show the selection
+enum class EESelectionMode { Std, Hidden };
+ // EESelectionMode::Hidden can be used to completely hide the selection. This is useful e.g. when you want show the selection
// only as long as your window (which the edit view works on) has the focus
enum class EESpellState { Ok, LanguageNotInstalled, NoSpeller, ErrorFound };
enum class EEAnchorMode {
diff --git a/include/svl/hint.hxx b/include/svl/hint.hxx
index 223151362e6d..c675ddb31615 100644
--- a/include/svl/hint.hxx
+++ b/include/svl/hint.hxx
@@ -54,12 +54,9 @@ enum class SfxHintId {
TextViewCaretChanged,
// BASIC hints
- BasicDying,
BasicDataWanted,
BasicDataChanged,
- BasicConverted,
BasicInfoWanted,
- BasicObjectChanged,
BasicStart,
BasicStop,
diff --git a/include/svx/cube3d.hxx b/include/svx/cube3d.hxx
index a627be2a1261..4a74777e0cff 100644
--- a/include/svx/cube3d.hxx
+++ b/include/svx/cube3d.hxx
@@ -27,7 +27,6 @@
#include <svx/obj3d.hxx>
#include <svx/svdobj.hxx>
#include <svx/svxdllapi.h>
-#include <o3tl/typed_flags_set.hxx>
namespace sdr { namespace contact { class ViewContact; } }
@@ -46,21 +45,6 @@ class E3dDefaultAttributes;
|*
\************************************************************************/
-enum class CubeFaces
-{
- Bottom = 0x0001,
- Back = 0x0002,
- Left = 0x0004,
- Top = 0x0008,
- Right = 0x0010,
- Front = 0x0020,
- Full = Bottom | Back | Left | Top | Right | Front
-};
-namespace o3tl
-{
- template<> struct typed_flags<CubeFaces> : is_typed_flags<CubeFaces, 0x003f> {};
-}
-
class SAL_WARN_UNUSED SVX_DLLPUBLIC E3dCubeObj final : public E3dCompoundObject
{
// Parameter
diff --git a/include/svx/deflt3d.hxx b/include/svx/deflt3d.hxx
index 8181907d3e16..d4d083287c87 100644
--- a/include/svx/deflt3d.hxx
+++ b/include/svx/deflt3d.hxx
@@ -25,8 +25,6 @@
#include <svx/svxdllapi.h>
#include <tools/color.hxx>
-enum class CubeFaces;
-
/*************************************************************************
|*
|* Class for managing the 3D default attributes
diff --git a/include/vcl/throbber.hxx b/include/vcl/throbber.hxx
index a7fccb02a17a..d079a8d39ea0 100644
--- a/include/vcl/throbber.hxx
+++ b/include/vcl/throbber.hxx
@@ -33,8 +33,6 @@ class VCL_DLLPUBLIC Throbber : public ImageControl
public:
enum class ImageSet
{
- /// automatically decide between different image sets, depending on what fits best the actual size
- Auto,
/// default images, 16x16 pixels
N16px,
/// default images, 32x32 pixels