summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/chpfld.hxx1
-rw-r--r--sw/inc/docufld.hxx2
-rw-r--r--sw/inc/reffld.hxx1
-rw-r--r--sw/inc/swtypes.hxx1
-rw-r--r--sw/inc/undobj.hxx5
-rw-r--r--sw/inc/unocoll.hxx2
6 files changed, 2 insertions, 10 deletions
diff --git a/sw/inc/chpfld.hxx b/sw/inc/chpfld.hxx
index 575bdb2540d5..39f45c0b2331 100644
--- a/sw/inc/chpfld.hxx
+++ b/sw/inc/chpfld.hxx
@@ -34,7 +34,6 @@ enum SwChapterFormat
CF_NUM_TITLE, ///< number and title
CF_NUMBER_NOPREPST, ///< only chapter number without post-/prefix
CF_NUM_NOPREPST_TITLE, ///< chapter number without post-/prefix and title
- CF_END
};
class SW_DLLPUBLIC SwChapterFieldType : public SwFieldType
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx
index 65130c21972c..a8855bb570ed 100644
--- a/sw/inc/docufld.hxx
+++ b/sw/inc/docufld.hxx
@@ -39,7 +39,6 @@ enum SwAuthorFormat
AF_BEGIN,
AF_NAME = AF_BEGIN,
AF_SHORTCUT,
- AF_END,
AF_FIXED = 0x8000
};
@@ -54,7 +53,6 @@ enum SwDocStatSubType
DS_TBL,
DS_GRF,
DS_OLE,
- DS_END
};
typedef sal_uInt16 SwDocInfoSubType;
diff --git a/sw/inc/reffld.hxx b/sw/inc/reffld.hxx
index bb82c5331801..ff9a801f8e06 100644
--- a/sw/inc/reffld.hxx
+++ b/sw/inc/reffld.hxx
@@ -55,7 +55,6 @@ enum REFERENCEMARK
REF_NUMBER, ///< "Number"
REF_NUMBER_NO_CONTEXT, ///< "Number (no context)"
REF_NUMBER_FULL_CONTEXT, ///< "Number (full context)"
- REF_END
};
/// Get reference.
diff --git a/sw/inc/swtypes.hxx b/sw/inc/swtypes.hxx
index 2c88e9fe99c9..2de88491609a 100644
--- a/sw/inc/swtypes.hxx
+++ b/sw/inc/swtypes.hxx
@@ -280,7 +280,6 @@ enum PrepareHint
// height of zero in order to avoid too much noise. At formatting
// it checks whether it fits and if necessary changes its page again.
PREP_ERGOSUM, // Needed because of movement in FootnoteFrames. Check QuoVadis/ErgoSum.
- PREP_END // END.
};
enum FrameControlType
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?
diff --git a/sw/inc/unocoll.hxx b/sw/inc/unocoll.hxx
index 67db942e0379..f25d90b80bbb 100644
--- a/sw/inc/unocoll.hxx
+++ b/sw/inc/unocoll.hxx
@@ -187,8 +187,6 @@ enum class SwServiceType {
StyleTable = 114,
StyleCell = 115,
- LAST = StyleCell,
-
Invalid = USHRT_MAX
};