include/vcl/toolkit/treelistbox.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 76158eecb96b0990d640d3fb0808498a3a0b8941 Author: Michael Weghorn <[email protected]> AuthorDate: Wed Mar 18 07:05:06 2026 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Wed Mar 18 11:38:01 2026 +0100 vcl: Consider SvLBoxTabFlags::HIDDEN for typed_flags<SvLBoxTabFlags> Fixes this assert seen with the gen VCL plugin with Heiko's pending Gerrit change [1] that wants to make use of the new method introduced in commit 94f870f9e4067b207a4e6543ca961ed17a649031 Date: Sat Feb 14 20:11:56 2026 +0100 tdf#170787 Add weld::TreeView::set_column_visible(int nColumn, bool bVisible) : soffice.bin: .../include/o3tl/typed_flags_set.hxx:83: o3tl::is_typed_flags<SvLBoxTabFlags, 127>::Wrap::Wrap(typename std::underlying_type<E>::type) [E = SvLBoxTabFlags, M = 127]: Assertion `static_cast<typename std::underlying_type<E>::type>(~0) == M || (value & ~M) == 0' failed. [1] https://gerrit.libreoffice.org/c/core/+/199538/4 Change-Id: Ia58164d87246dc0deecd9b0a3070054aa157667e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201967 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/include/vcl/toolkit/treelistbox.hxx b/include/vcl/toolkit/treelistbox.hxx index 2074cf01e701..3522d47c6c27 100644 --- a/include/vcl/toolkit/treelistbox.hxx +++ b/include/vcl/toolkit/treelistbox.hxx @@ -77,7 +77,7 @@ enum class SvLBoxTabFlags }; namespace o3tl { - template<> struct typed_flags<SvLBoxTabFlags> : is_typed_flags<SvLBoxTabFlags, 0x007f> {}; + template<> struct typed_flags<SvLBoxTabFlags> : is_typed_flags<SvLBoxTabFlags, 0x00ff> {}; } #define SV_TAB_BORDER 8
