diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-03 08:46:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-03 08:59:39 +0000 |
commit | f4826959c1a5b0e6d2849d4240668b2087582848 (patch) | |
tree | 32589cbf4cbdcd20ff09417f4906f10fc7a4525f /vcl | |
parent | 83721f4365d234b62f9e3517345c8d3fda19f2c6 (diff) |
new loplugin:unusedenumconstants
These are the simple removals, where it is obviously safe,
the more complex ones will come in separate commits
Change-Id: I7211945a6a5576354b60d9c709940ce9b674f308
Reviewed-on: https://gerrit.libreoffice.org/33828
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/CommonSalLayout.hxx | 1 | ||||
-rw-r--r-- | vcl/source/filter/wmf/winmtf.hxx | 1 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.hxx | 3 |
3 files changed, 1 insertions, 4 deletions
diff --git a/vcl/inc/CommonSalLayout.hxx b/vcl/inc/CommonSalLayout.hxx index b0c9381defea..052104850414 100644 --- a/vcl/inc/CommonSalLayout.hxx +++ b/vcl/inc/CommonSalLayout.hxx @@ -92,7 +92,6 @@ public: enum class VerticalOrientation { Upright = 0, - Rotated = 1, TransformedUpright = 2, TransformedRotated = 3 }; diff --git a/vcl/source/filter/wmf/winmtf.hxx b/vcl/source/filter/wmf/winmtf.hxx index 2e3074721097..d6e161d9e6a8 100644 --- a/vcl/source/filter/wmf/winmtf.hxx +++ b/vcl/source/filter/wmf/winmtf.hxx @@ -45,7 +45,6 @@ enum class BkMode NONE = 0, Transparent = 1, OPAQUE = 2, - LAST = 2 }; /* xform stuff */ diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index a1cb6d2efc57..bb90cb599d01 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -73,14 +73,13 @@ enum class GraphicsStateUpdateFlags { TextLineColor = 0x0010, OverlineColor = 0x0020, ClipRegion = 0x0040, - AntiAlias = 0x0080, LayoutMode = 0x0100, TransparentPercent = 0x0200, DigitLanguage = 0x0400, All = 0x07ff }; namespace o3tl { - template<> struct typed_flags<GraphicsStateUpdateFlags> : is_typed_flags<GraphicsStateUpdateFlags, 0x07ff> {}; + template<> struct typed_flags<GraphicsStateUpdateFlags> : is_typed_flags<GraphicsStateUpdateFlags, 0x077f> {}; } namespace vcl |