xmloff/source/text/txtparae.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit e902fe1b8bf03f9c3747685314f4d443bcea9333 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Mon Apr 22 08:58:32 2024 +0200 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Mon Apr 22 10:02:50 2024 +0200 Use designated initializers for clarity Change-Id: Ie10e657e07981e6fd0f0804371fd30f2b3f143b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166430 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index c95eb4886120..6153fb09d7a8 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -1358,8 +1358,9 @@ struct XMLTextParagraphExport::DocumentListNodes for (const auto& node : nodes) { assert(node.getLength() == 3); - docListNodes.push_back({ node[0].get<sal_Int32>(), node[1].get<sal_uInt64>(), - node[2].get<OUString>() }); + docListNodes.push_back({ .index = node[0].get<sal_Int32>(), + .style_id = node[1].get<sal_uInt64>(), + .list_id = node[2].get<OUString>() }); } std::sort(docListNodes.begin(), docListNodes.end(),