Kaydet (Commit) 6b8cd041 authored tarafından Noel Grandin's avatar Noel Grandin

remove unused SwInsertNumTypes

Change-Id: Iede167882414e77f54218e8458f5315c1e16f245
Reviewed-on: https://gerrit.libreoffice.org/63912
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 9fe4d222
......@@ -1490,12 +1490,6 @@ sw/source/uibase/inc/envimg.hxx:33
enum SwEnvAlign ENV_VER_LEFT
sw/source/uibase/inc/envimg.hxx:34
enum SwEnvAlign ENV_VER_CNTR
sw/source/uibase/inc/numberingtypelistbox.hxx:32
enum SwInsertNumTypes PageStyleNumbering
sw/source/uibase/inc/numberingtypelistbox.hxx:33
enum SwInsertNumTypes Bitmap
sw/source/uibase/inc/numberingtypelistbox.hxx:34
enum SwInsertNumTypes Bullet
tools/source/generic/poly.cxx:1122
enum (anonymous at /home/noel/libo2/tools/source/generic/poly.cxx:1122:5) maxRecursionDepth
ucbhelper/source/client/proxydecider.cxx:119
......
......@@ -29,14 +29,11 @@
enum class SwInsertNumTypes
{
NoNumbering = 0x01,
PageStyleNumbering = 0x02,
Bitmap = 0x04,
Bullet = 0x08,
Extended = 0x10
Extended = 0x02
};
namespace o3tl {
template<> struct typed_flags<SwInsertNumTypes> : is_typed_flags<SwInsertNumTypes, 0x1f> {};
template<> struct typed_flags<SwInsertNumTypes> : is_typed_flags<SwInsertNumTypes, 0x03> {};
};
struct SwNumberingTypeListBox_Impl;
......
......@@ -79,15 +79,15 @@ void SwNumberingTypeListBox::Reload(SwInsertNumTypes nTypeFlags)
break;
case style::NumberingType::CHAR_SPECIAL:
bInsert = bool(nTypeFlags & SwInsertNumTypes::Bullet);
bInsert = false;
break;
case style::NumberingType::PAGE_DESCRIPTOR:
bInsert = bool(nTypeFlags & SwInsertNumTypes::PageStyleNumbering);
bInsert = false;
break;
case style::NumberingType::BITMAP:
bInsert = bool(nTypeFlags & SwInsertNumTypes::Bitmap );
bInsert = false;
break;
case style::NumberingType::BITMAP | LINK_TOKEN:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment