summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2020-03-28 20:51:33 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-29 14:04:42 +0200
commit67314abb2cb62ee67513c8de4fa98555ecdb5b6c (patch)
treeded400fc463ff45c3dfdd7cb66270f79dd30815e /include
parentd5079f26e55cf2922db35034340023cfb9d0464d (diff)
Fix is_typed_flags for SfxStyleSearchBits (svl/style)
+ fix All and AllVisible enum values and comment Change-Id: I69b8a3d789d7221c9809ea774d09a7350316c262 Change-Id: I169d6c97454bb72552f263af3df6d3dd1e867ec2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91314 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svl/style.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svl/style.hxx b/include/svl/style.hxx
index fd27d8ebdf70..9ed7122d4238 100644
--- a/include/svl/style.hxx
+++ b/include/svl/style.hxx
@@ -70,11 +70,11 @@ enum class SfxStyleSearchBits {
ReadOnly = 0x2000, ///< readonly styles (search mask)
Used = 0x4000, ///< used styles (search mask)
UserDefined = 0x8000, ///< user defined styles (search mask)
- AllVisible = 0xFDFF, ///< all styles
- All = 0xFFFF, ///< all styles
+ AllVisible = 0xe07f, ///< all visible styles
+ All = 0xe27f, ///< all styles
};
namespace o3tl {
- template<> struct typed_flags<SfxStyleSearchBits> : is_typed_flags<SfxStyleSearchBits, 0xffff> {};
+ template<> struct typed_flags<SfxStyleSearchBits> : is_typed_flags<SfxStyleSearchBits, 0xe27f> {};
}