xmloff/source/style/XMLFontAutoStylePool.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 84dc16eb47c31f06a1e9dcc5ed028f9fc4394f83
Author:     Caolán McNamara <[email protected]>
AuthorDate: Tue Oct 14 15:02:17 2025 +0100
Commit:     Caolán McNamara <[email protected]>
CommitDate: Wed Oct 15 10:22:52 2025 +0200

    we surely mean name-[asian/complex] and not weight-[asian/complex]
    
    Change-Id: Ib1adf05c1e39f23dddb777473123fc1db565c41b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192396
    Reviewed-by: Tomaž Vajngerl <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/xmloff/source/style/XMLFontAutoStylePool.cxx 
b/xmloff/source/style/XMLFontAutoStylePool.cxx
index a101755797e8..272d6d3986b4 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>())
                 {

Reply via email to