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 /cui | |
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 'cui')
-rw-r--r-- | cui/source/inc/cuitabarea.hxx | 1 | ||||
-rw-r--r-- | cui/source/options/optcolor.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/paragrph.cxx | 3 |
3 files changed, 1 insertions, 5 deletions
diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx index 073a561b021a..3af9dd9a9e95 100644 --- a/cui/source/inc/cuitabarea.hxx +++ b/cui/source/inc/cuitabarea.hxx @@ -93,7 +93,6 @@ enum class PageType Color, Shadow, Transparence, - Unknown = 0xFFF }; class SvxAreaTabDialog : public SfxTabDialog diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx index 5508d9815b88..d6f72af23946 100644 --- a/cui/source/options/optcolor.cxx +++ b/cui/source/options/optcolor.cxx @@ -50,8 +50,6 @@ namespace // list of default groups enum Group { - Group_Unknown = -1, - Group_General, Group_Writer, Group_Html, diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx index 2f630444a9c7..97edb56375a9 100644 --- a/cui/source/tabpages/paragrph.cxx +++ b/cui/source/tabpages/paragrph.cxx @@ -92,8 +92,7 @@ enum LineSpaceList LLINESPACE_PROP = 4, LLINESPACE_MIN = 5, LLINESPACE_DURCH= 6, - LLINESPACE_FIX = 7, - LLINESPACE_END + LLINESPACE_FIX = 7 }; void SetLineSpace_Impl( SvxLineSpacingItem&, int, long lValue = 0 ); |