...now that it is gone from libc++ 16 trunk since <https://github.com/llvm/llvm-project/commit/aeecef08c385b1e4955155dd649a2d3724463849> "[libc++] Remove default definition of std::char_traits", causing > In file included from hwpfilter/source/formula.cxx:20: > In file included from hwpfilter/source/formula.h:23: > In file included from workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/xml/sax/XDocumentHandler.hpp:6: > In file included from workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/xml/sax/XDocumentHandler.hdl:6: > In file included from workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XInterface.hdl:6: > In file included from include/com/sun/star/uno/Any.h:30: > In file included from include/rtl/ustring.hxx:34: > In file included from ~/llvm/inst/bin/../include/c++/v1/ostream:170: > In file included from ~/llvm/inst/bin/../include/c++/v1/bitset:131: > ~/llvm/inst/bin/../include/c++/v1/string:676:46: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>' > static_assert(( is_same<_CharT, typename traits_type::char_type>::value), > ^ > hwpfilter/source/hwplib.h:47:10: note: in instantiation of template class 'std::basic_string<unsigned short>' requested here > if (s.length() > o3tl::make_unsigned(std::numeric_limits<sal_Int32>::max())) { > ^ > ~/llvm/inst/bin/../include/c++/v1/__fwd/string.h:22:29: note: template is declared here > struct _LIBCPP_TEMPLATE_VIS char_traits; > ^ Change-Id: Ied437a079cb66c8b49f9980ab29b59ec5e2097d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143238 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Filters for Korean (Hangul) Popular Word Processor Formats
Filter for a word processor file format popular in Korea (Hangul Word Processor).
Unfortunately apparently there is a newer version of the file format in use nowadays and the code doesn't handle that correctly but silently corrupts the input. See tdf#70097.