summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-09-19 09:48:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-09-19 10:44:05 +0000
commit1658bd231bc662504a072097dc614c29fe2e116d (patch)
tree00e1036c841aa7c228d443c34cdc5e88b8054ea3 /include/sfx2
parent4f86b7a86cae630c19f6f0d1b4d6672c25e2eb3c (diff)
loplugin:unusedenumvalues
Change-Id: I9dcc9f73af6db5b4f7cc946bc28931e5c230b34c Reviewed-on: https://gerrit.libreoffice.org/29012 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/mailmodelapi.hxx8
-rw-r--r--include/sfx2/objsh.hxx3
2 files changed, 1 insertions, 10 deletions
diff --git a/include/sfx2/mailmodelapi.hxx b/include/sfx2/mailmodelapi.hxx
index 6000378ee9ac..b0591e845045 100644
--- a/include/sfx2/mailmodelapi.hxx
+++ b/include/sfx2/mailmodelapi.hxx
@@ -35,14 +35,6 @@ typedef ::std::vector< OUString > AddressList_Impl;
class SFX2_DLLPUBLIC SfxMailModel
{
-public:
- enum AddressRole
- {
- ROLE_TO,
- ROLE_CC,
- ROLE_BCC
- };
-
protected:
enum SaveResult
{
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index 45a0c9675512..4a464d371aea 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -120,7 +120,6 @@ enum class SfxObjectShellFlags
{
HASOPENDOC = 0x01L,
HASMENU = 0x04L,
- DONTLOADFILTERS = 0x08L,
DONTCLOSE = 0x10L,
NODOCINFO = 0x20L,
STD_NORMAL = HASOPENDOC,
@@ -128,7 +127,7 @@ enum class SfxObjectShellFlags
};
namespace o3tl
{
- template<> struct typed_flags<SfxObjectShellFlags> : is_typed_flags<SfxObjectShellFlags, 0xf00003d> {};
+ template<> struct typed_flags<SfxObjectShellFlags> : is_typed_flags<SfxObjectShellFlags, 0xf000035> {};
}
#define SFX_TITLE_TITLE 0