forked from amazingfate/loongoffice
While o3tl::cmp_less was dropped for master in
commit 8e0ffffe60f1e9c97d7937ffe7d206fb62900357
AuthorDate: Thu Oct 26 22:40:24 2023 +0200
CommitDate: Thu Apr 24 10:07:03 2025 +0200
Directly use std::cmp_*, drop o3tl::cmp_*
, Android NDK 25 - the maximum NDK version supported on
the libreoffice-25-2 branch - doesn't support std::cmp_less,
so switch this use of std::cmp_less to o3tl::cmp_less on
that branch only.
Fixes this Android build error:
.../editeng/source/editeng/impedit3.cxx:2427:44: error: no member named 'cmp_less' in namespace 'std'; did you mean 'o3tl::cmp_less'?
while (aKashidaArray.size() > i && std::cmp_less(nGapSize, nEmRequiredSize))
^~~~~~~~~~~~~
o3tl::cmp_less
.../include/o3tl/intcmp.hxx:57:52: note: 'o3tl::cmp_less' declared here
template <typename T1, typename T2> constexpr bool cmp_less(T1 value1, T2 value2) noexcept
Change-Id: I02ca2e75c321ad981b78e2473a035915187877cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186135
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
Edit Engine
In OpenOffice.org build DEV300m72 this module was split off from svx but it
has no dependencies on svx (nor on sfx2) while in turn svx depends on editeng
Read more in the mailing list post: http://www.mail-archive.com/dev@openoffice.org/msg13237.html
If you build LibreOffice with dbgutil, you have some extended debug keys:
- Ctrl+Alt+F1 - draws the paragraph rectangles in different colors
- Ctrl+Alt+F11 - toggles dumping the edit engine state to the "editenginedump.log" on draw
- Ctrl+Alt+F12 - dumps the current edit engine state to "editenginedump.log"