[Libreoffice-commits] core.git: include/svl

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Sun Mar 29 12:05:18 UTC 2020


 include/svl/style.hxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 67314abb2cb62ee67513c8de4fa98555ecdb5b6c
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sat Mar 28 20:51:33 2020 +0100
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun Mar 29 14:04:42 2020 +0200

    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 at collabora.co.uk>

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> {};
 }
 
 


More information about the Libreoffice-commits mailing list