xmloff/source/style/XMLFontAutoStylePool.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 3a38bcbc8ae0e969d7632d1c9eb97b325c3afb83 Author: Caolán McNamara <[email protected]> AuthorDate: Tue Oct 14 15:02:17 2025 +0100 Commit: Caolán McNamara <[email protected]> CommitDate: Tue Oct 14 20:37:29 2025 +0200 we surely mean name-[asian/complex] and not weight-[asian/complex] Change-Id: Ib1adf05c1e39f23dddb777473123fc1db565c41b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192395 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> diff --git a/xmloff/source/style/XMLFontAutoStylePool.cxx b/xmloff/source/style/XMLFontAutoStylePool.cxx index f085f867b4ba..8692811fea34 100644 --- a/xmloff/source/style/XMLFontAutoStylePool.cxx +++ b/xmloff/source/style/XMLFontAutoStylePool.cxx @@ -359,8 +359,8 @@ std::unordered_set<OUString> SvXMLExport::getUsedFontList() for (auto const & rPair : rAutoStyleEntry.m_aXmlProperties) { if (rPair.first == "font-name" || - rPair.first == "font-weight-asian" || - rPair.first == "font-weight-complex") + rPair.first == "font-name-asian" || + rPair.first == "font-name-complex") { if (rPair.second.has<OUString>()) {
