diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-30 08:20:20 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-30 07:15:39 +0000 |
commit | cebfe56ae5f9cee4b403370774040f35a17d223c (patch) | |
tree | ee5ef74632b70980e58af8e6c75a6be921622c11 /sw | |
parent | a45827b2308febc7369db27fb489a6d1389534e1 (diff) |
add assert for valid value in o3tl::typed_flags_set
, fixing a couple of bugs in the process
Change-Id: I40f932deecbcc99dff9aa13dd1882c7487e7fa8e
Reviewed-on: https://gerrit.libreoffice.org/17411
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/fesh.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx index b8604d13936e..472d57c88f78 100644 --- a/sw/inc/fesh.hxx +++ b/sw/inc/fesh.hxx @@ -82,7 +82,7 @@ enum class FrmTypeFlags { }; namespace o3tl { - template<> struct typed_flags<FrmTypeFlags> : is_typed_flags<FrmTypeFlags, 0x4fff> {}; + template<> struct typed_flags<FrmTypeFlags> : is_typed_flags<FrmTypeFlags, 0x7fff> {}; } //! values can be combined via logical or |