include/editeng/numitem.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 382801ee5368a4c3d59931450dec0d2d9f369285 Author: Justin Luth <[email protected]> AuthorDate: Sat May 18 12:02:56 2024 -0400 Commit: Justin Luth <[email protected]> CommitDate: Mon May 20 15:41:19 2024 +0200 documentation: list format placeholder has been "%1%" since LO 7.2 Vasily's commit aa5c6d127559912ad60a63fbd972b78fb8f9691b new ODF numbered list parameter loext:num-list-format Internal LO format for list format is changed: instead of placeholders like %1, %2, etc we right now use %1%, %2%... Reason: for ODT documents, having more than 9 levels there is ambiguity in "%10": it is "%1" followed by "0" suffix, or "%10"? It was introduced in 6.4.5 for DOCX support with Vasily's commit 7459b9ecb54a298f02d19089620149718f8d8d48 tdf#116883: sw: support for lists level format string Change-Id: I5962ed04c555356c6a3fc05ab7e036975d7eee40 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167833 Tested-by: Jenkins Reviewed-by: Justin Luth <[email protected]> diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx index 5005a20fa7a1..423a0e2aeda3 100644 --- a/include/editeng/numitem.hxx +++ b/include/editeng/numitem.hxx @@ -104,7 +104,7 @@ public: private: OUString sPrefix; OUString sSuffix; - std::optional<OUString> sListFormat; // Format string ">%1.%2<" can be used instead of prefix/suffix + std::optional<OUString> sListFormat; // Format string ">%1%.%2%<" can be used instead of prefix/suffix // Right now it is optional value to distinguish empty list format // and not set list format when we need to fallback to prefix/suffix.
