diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-11 15:02:19 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-12 06:58:39 +0000 |
commit | d30a4298bdb5ba53cd1fe659f2b742f218a2e527 (patch) | |
tree | 504f4f5e1d498276779105b711e4c30744dea1c2 /reportdesign | |
parent | 500a3be0ea9184fc2823d704acf4037f70c6721e (diff) |
loplugin:unusedenumconstants in package..svtools
Change-Id: I8136b93b9303ebecafd791159e813c335b1bc172
Reviewed-on: https://gerrit.libreoffice.org/28052
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/inc/RptObject.hxx | 3 | ||||
-rw-r--r-- | reportdesign/source/ui/inc/metadata.hxx | 12 |
2 files changed, 3 insertions, 12 deletions
diff --git a/reportdesign/inc/RptObject.hxx b/reportdesign/inc/RptObject.hxx index 6552ac81169f..6d96397fd685 100644 --- a/reportdesign/inc/RptObject.hxx +++ b/reportdesign/inc/RptObject.hxx @@ -39,10 +39,7 @@ namespace rptui typedef ::std::multimap< sal_Int16, OUString, ::std::less< sal_Int16 > > IndexToNameMap; enum DlgEdHintKind { - RPTUI_HINT_UNKNOWN, RPTUI_HINT_WINDOWSCROLLED, - RPTUI_HINT_LAYERCHANGED, - RPTUI_HINT_OBJORDERCHANGED, RPTUI_HINT_SELECTIONCHANGED }; diff --git a/reportdesign/source/ui/inc/metadata.hxx b/reportdesign/source/ui/inc/metadata.hxx index bfc352b9d1de..c9e0e6a3e989 100644 --- a/reportdesign/source/ui/inc/metadata.hxx +++ b/reportdesign/source/ui/inc/metadata.hxx @@ -28,18 +28,12 @@ //= UI flags (for all browseable properties) enum class PropUIFlags { NONE = 0x0001, // no special flag - Enum = 0x0002, // the property is some kind of enum property, i.e. its // value is chosen from a fixed list of possible values - EnumOne = 0x0004, // the property is an enum property starting with 1 - // (note that this includes PropUIFlags::Enum) - Composeable = 0x0008, // the property is "composeable", i.e. an intersection of property + Composeable = 0x0002, // the property is "composeable", i.e. an intersection of property // sets should expose it, if all elements do - Experimental = 0x0010, // the property is experimental, i.e. should not appear in the - // UI, unless experimental properties are enabled by a configuration - // option - DataProperty = 0x0020 // the property is to appear on the "Data" page + DataProperty = 0x0004 // the property is to appear on the "Data" page }; namespace o3tl { - template<> struct typed_flags<PropUIFlags> : is_typed_flags<PropUIFlags, 0x003f> {}; + template<> struct typed_flags<PropUIFlags> : is_typed_flags<PropUIFlags, 0x0007> {}; } |