sw/inc/viewopt.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4ce914cedac54972f44c4cf8de5089fcca5e2a78 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sun Mar 29 11:44:34 2020 +0200 Commit: Noel Grandin <noel.gran...@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.gran...@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 { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits