[Libreoffice-commits] core.git: sw/inc

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


 sw/inc/viewopt.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4ce914cedac54972f44c4cf8de5089fcca5e2a78
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sun Mar 29 11:44:34 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun Mar 29 14:19:21 2020 +0200

    Fix is_typed_flags for ViewOptCoreFlags2 (sw/viewopt)
    
    IgnoreProt (0x0040) removed with:
    https://cgit.freedesktop.org/libreoffice/core/commit/?id=efbf399e773c6fc04496331b6ff1efde54bd4f9e
    related: tdf#90362: remove option from Formatting Aids
    The option to ignore protection breaks expected functionality
    (protection, including sections protected with password), and may
    cause problems mentioned in original bug. This only should be used
    in specific recovery situations.
    
    Moving it from user-visible page to Expert Configuration.
    (Previously, changing it in Expert Configuration hadn't effect.)
    
    Change-Id: Ia938159329d68aaf28ffd6dc15974aa4fd93e5bd
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91324
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sw/inc/viewopt.hxx b/sw/inc/viewopt.hxx
index 11d2914ed028..6455832a27e4 100644
--- a/sw/inc/viewopt.hxx
+++ b/sw/inc/viewopt.hxx
@@ -76,7 +76,7 @@ enum class ViewOptCoreFlags2 {
     Printing          = 0x0020,
 };
 namespace o3tl {
-    template<> struct typed_flags<ViewOptCoreFlags2> : is_typed_flags<ViewOptCoreFlags2, 0x007f> {};
+    template<> struct typed_flags<ViewOptCoreFlags2> : is_typed_flags<ViewOptCoreFlags2, 0x003f> {};
 };
 
 enum class ViewOptFlags2 {


More information about the Libreoffice-commits mailing list