summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-24 13:42:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-25 08:29:23 +0200
commitbe9f45ad69a510185971957e7643fd64b873e98d (patch)
tree5b7bf5962be52193f64d20ece92b2f433d2ee797 /include
parent834770170248695a4994f879fe627f6d044b2db8 (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 'include')
-rw-r--r--include/sfx2/childwin.hxx15
-rw-r--r--include/vcl/vclenum.hxx7
2 files changed, 7 insertions, 15 deletions
diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx
index f7d639e927c6..3a945b47b1de 100644
--- a/include/sfx2/childwin.hxx
+++ b/include/sfx2/childwin.hxx
@@ -41,19 +41,18 @@ class SfxModelessDialogController;
enum class SfxChildWindowFlags
{
- NONE = 0x00,
- ZOOMIN = 0x01, // Fully retracted Float
- FORCEDOCK = 0x04, // Float forbidden
- TASK = 0x10, // ChildWindow inside the Task
- CANTGETFOCUS = 0x20, // ChildWindow can not get focus
- ALWAYSAVAILABLE = 0x40, // ChildWindow is never disabled
- NEVERHIDE = 0x80, // ChildWindow is always visible
+ NONE = 0x000,
+ FORCEDOCK = 0x004, // Float forbidden
+ TASK = 0x010, // ChildWindow inside the Task
+ CANTGETFOCUS = 0x020, // ChildWindow can not get focus
+ ALWAYSAVAILABLE = 0x040, // ChildWindow is never disabled
+ NEVERHIDE = 0x080, // ChildWindow is always visible
NEVERCLONE = 0x100, // ChildWindow is not recreated in new view
};
namespace o3tl
{
- template<> struct typed_flags<SfxChildWindowFlags> : is_typed_flags<SfxChildWindowFlags, 0x1f5> {};
+ template<> struct typed_flags<SfxChildWindowFlags> : is_typed_flags<SfxChildWindowFlags, 0x1f4> {};
}
diff --git a/include/vcl/vclenum.hxx b/include/vcl/vclenum.hxx
index 4175c5f37c41..b5423b46e5de 100644
--- a/include/vcl/vclenum.hxx
+++ b/include/vcl/vclenum.hxx
@@ -276,13 +276,6 @@ enum class VclPolicyType
NEVER
};
-enum class VclTextAlignment
-{
- LEFT,
- CENTER,
- RIGHT
-};
-
enum class WizardButtonFlags : sal_Int16
{
NONE = 0x0000,