summaryrefslogtreecommitdiff
path: root/sw/inc/undobj.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-03 08:46:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-03 08:59:39 +0000
commitf4826959c1a5b0e6d2849d4240668b2087582848 (patch)
tree32589cbf4cbdcd20ff09417f4906f10fc7a4525f /sw/inc/undobj.hxx
parent83721f4365d234b62f9e3517345c8d3fda19f2c6 (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 'sw/inc/undobj.hxx')
-rw-r--r--sw/inc/undobj.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/inc/undobj.hxx b/sw/inc/undobj.hxx
index 284e3160d26b..26625731ad22 100644
--- a/sw/inc/undobj.hxx
+++ b/sw/inc/undobj.hxx
@@ -130,13 +130,12 @@ enum class DelContentType : sal_uInt16
{
Ftn = 0x01,
Fly = 0x02,
- Toc = 0x04,
Bkm = 0x08,
- AllMask = 0x0F,
+ AllMask = 0x0b,
CheckNoCntnt = 0x80,
};
namespace o3tl {
- template<> struct typed_flags<DelContentType> : is_typed_flags<DelContentType, 0x8f> {};
+ template<> struct typed_flags<DelContentType> : is_typed_flags<DelContentType, 0x8b> {};
}
/// will DelContentIndex destroy a frame anchored at character at rAnchorPos?