diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-11 15:30:19 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-12 06:53:29 +0000 |
commit | 8806a86c9d1ba63259ea79dd1c955ef970ab1989 (patch) | |
tree | e5604a542bbeea91766072e420e3ea033ed97360 /include | |
parent | 18009fe8fbe3982141ddca3f1fcd0900a63150a6 (diff) |
loplugin:unusedenumconstants in forms..sot
Change-Id: Ic445e1bdd012c32ef7d84aec9df908467c3296a7
Reviewed-on: https://gerrit.libreoffice.org/28055
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/rsc/rsc-vcl-shared-types.hxx | 3 | ||||
-rw-r--r-- | include/sfx2/filedlghelper.hxx | 8 | ||||
-rw-r--r-- | include/sfx2/frmdescr.hxx | 7 | ||||
-rw-r--r-- | include/sfx2/mailmodelapi.hxx | 15 | ||||
-rw-r--r-- | include/sfx2/msg.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/objsh.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/shell.hxx | 20 |
7 files changed, 1 insertions, 55 deletions
diff --git a/include/rsc/rsc-vcl-shared-types.hxx b/include/rsc/rsc-vcl-shared-types.hxx index 80b76e543750..3603cde25c76 100644 --- a/include/rsc/rsc-vcl-shared-types.hxx +++ b/include/rsc/rsc-vcl-shared-types.hxx @@ -64,8 +64,7 @@ enum class ToolBoxItemBits REPEAT = 0x0040, DROPDOWNONLY = 0x00a0, // 0x0080 | DROPDOWN TEXT_ONLY = 0x0100, - ICON_ONLY = 0x0200, - TEXTICON = 0x0300 // TEXT_ONLY | ICON_ONLY + ICON_ONLY = 0x0200 }; namespace o3tl { diff --git a/include/sfx2/filedlghelper.hxx b/include/sfx2/filedlghelper.hxx index 9c7e3b3060a7..c443638b619b 100644 --- a/include/sfx2/filedlghelper.hxx +++ b/include/sfx2/filedlghelper.hxx @@ -84,14 +84,6 @@ public: { UNKNOWN_CONTEXT, // unknown context SW_INSERT_GRAPHIC, // insert graphic in writer - SW_INSERT_SOUND, // insert sound in writer - SW_INSERT_VIDEO, // insert video in writer - SC_INSERT_GRAPHIC, // insert graphic in calc - SC_INSERT_SOUND, // insert sound in calc - SC_INSERT_VIDEO, // insert video in calc - SD_INSERT_GRAPHIC, // insert graphic in draw - SD_INSERT_SOUND, // insert sound in draw - SD_INSERT_VIDEO, // insert video in draw SD_EXPORT, // export in draw SI_EXPORT, // export in impress SW_EXPORT // export in writer diff --git a/include/sfx2/frmdescr.hxx b/include/sfx2/frmdescr.hxx index 8d6f462adb9a..1a792bf5516b 100644 --- a/include/sfx2/frmdescr.hxx +++ b/include/sfx2/frmdescr.hxx @@ -50,13 +50,6 @@ enum ScrollingMode ScrollingAuto }; -enum SizeSelector -{ - SIZE_ABS, - SIZE_PERCENT, - SIZE_REL -}; - #define SPACING_NOT_SET -1L #define SIZE_NOT_SET -1L diff --git a/include/sfx2/mailmodelapi.hxx b/include/sfx2/mailmodelapi.hxx index 7d048b7298bb..bb3d3603326e 100644 --- a/include/sfx2/mailmodelapi.hxx +++ b/include/sfx2/mailmodelapi.hxx @@ -36,15 +36,6 @@ typedef ::std::vector< OUString > AddressList_Impl; class SFX2_DLLPUBLIC SfxMailModel { public: - enum MailPriority - { - PRIO_HIGHEST, - PRIO_HIGH, - PRIO_NORMAL, - PRIO_LOW, - PRIO_LOWEST - }; - enum AddressRole { ROLE_TO, @@ -52,12 +43,6 @@ public: ROLE_BCC }; - enum MailDocType - { - TYPE_SELF, - TYPE_ASPDF - }; - protected: enum SaveResult { diff --git a/include/sfx2/msg.hxx b/include/sfx2/msg.hxx index ab7c6bd3ff17..c6c101bc6c40 100644 --- a/include/sfx2/msg.hxx +++ b/include/sfx2/msg.hxx @@ -38,7 +38,6 @@ enum class SfxSlotMode { RECORDPERITEM = 0x0200L, // each item, one statement RECORDPERSET = 0x0400L, // The whole Set is a Statement, default RECORDABSOLUTE = 0x1000000L, // Recording with absolute Target - STANDARD = 0x00400L, // RECORDPERSET; METHOD = 0x4000L, diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index 3c7f9e841000..b4fecfe3921b 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -124,7 +124,6 @@ enum class SfxObjectShellFlags DONTCLOSE = 0x10L, NODOCINFO = 0x20L, STD_NORMAL = HASOPENDOC, - STD_SPECIAL = DONTLOADFILTERS, UNDEFINED = 0xf000000 }; namespace o3tl @@ -180,7 +179,6 @@ enum class SfxObjectCreateMode STANDARD, PREVIEW, ORGANIZER, - PLUGIN, INTERNAL }; diff --git a/include/sfx2/shell.hxx b/include/sfx2/shell.hxx index 58440b2fdb55..ed7b55bb7c7d 100644 --- a/include/sfx2/shell.hxx +++ b/include/sfx2/shell.hxx @@ -68,28 +68,9 @@ enum SfxInterfaceId SFX_INTERFACE_NONE, SFX_INTERFACE_SFXAPP, SFX_INTERFACE_SFXDOCSH, - SFX_INTERFACE_SFXIPFRM, SFX_INTERFACE_SFXVIEWSH, SFX_INTERFACE_SFXVIEWFRM, - SFX_INTERFACE_SFXPLUGINFRM, - SFX_INTERFACE_SFXPLUGINOBJ, - SFX_INTERFACE_SFXPLUGINVIEWSH, - SFX_INTERFACE_SFXFRAMESETOBJ, - SFX_INTERFACE_SFXFRAMESETVIEWSH, - SFX_INTERFACE_SFXINTERNALFRM, - SFX_INTERFACE_SFXCOMPONENTDOCSH, - SFX_INTERFACE_SFXGENERICOBJ, - SFX_INTERFACE_SFXGENERICVIEWSH, - SFX_INTERFACE_SFXEXPLOBJ, - SFX_INTERFACE_SFXEXPLVIEWSH, - SFX_INTERFACE_SFXPLUGINVIEWSHDYNAMIC, - SFX_INTERFACE_SFXEXTERNALVIEWFRM, SFX_INTERFACE_SFXMODULE, - SFX_INTERFACE_SFXFRAMESETVIEW, - SFX_INTERFACE_SFXFRAMESETSOURCEVIEW, - SFX_INTERFACE_SFXHELP_DOCSH, - SFX_INTERFACE_SFXHELP_VIEWSH, - SFX_INTERFACE_SFXTASK, SFX_INTERFACE_OFA_START = 100, SFX_INTERFACE_OFA_END = 100, SFX_INTERFACE_SC_START = 150, @@ -110,7 +91,6 @@ enum SfxInterfaceId SFX_INTERFACE_IDE_END = 409, //-if one is still needed SFX_INTERFACE_APP = SFX_INTERFACE_SW_START, - SFX_INTERFACE_LIB = 450 }; |