writerfilter/source/dmapper/StyleSheetTable.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 26e323976cc29b549eeb3c0f586e007045a3206e
Author:     László Németh <nem...@numbertext.org>
AuthorDate: Mon Oct 3 17:15:04 2022 +0200
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Wed Oct 5 07:14:04 2022 +0200

    tdf#138625 DOCX import: fix superscript footnote numbering in l10n
    
    Footnote/endnote numbers in the footnote area didn't get
    superscript etc. formatting in non-English locale
    settings because of the writerfilter mapping to
    the English localization ("Footnote Characters" and
    "Endnote Characters") instead of the correct
    programmatic character style names ("Footnote Symbol"
    and "Endnote Symbol") according to
    SwStyleNameMapper::GetChrFormatProgNameArray().
    
    Testing: unit test of tdf#82173. Manual: e.g. open test
    document of tdf#138625 in an Italian build, after setting
    Italian locale in it in Tools->Options...->Language Settings->
    Languages->Language of user interface.
    
    Follow-up to commit 707eb4db1918658e0c2c2c2033c6a69f80c4eafd
    "tdf#82173 writerfilter: charStyle XnoteReference->Xnote Characters".
    
    Change-Id: I36b3c5ff065e9f80289d051e27f618b40e0c9355
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140918
    Tested-by: László Németh <nem...@numbertext.org>
    Reviewed-by: László Németh <nem...@numbertext.org>
    (cherry picked from commit 5a1c668747f3495ddc7567ae95f2145663565647)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140891
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx 
b/writerfilter/source/dmapper/StyleSheetTable.cxx
index fe5d718827f0..8b3bc02b44a6 100644
--- a/writerfilter/source/dmapper/StyleSheetTable.cxx
+++ b/writerfilter/source/dmapper/StyleSheetTable.cxx
@@ -1493,13 +1493,13 @@ OUString StyleSheetTable::ConvertStyleName( const 
OUString& rWWName, bool bExten
 //        { "Table of Figures", "" },
         { "Envelope Address", "Addressee" },
         { "Envelope Return", "Sender" },
-        { "footnote reference", "Footnote Characters" },
-        { "Footnote Reference", "Footnote Characters" },
+        { "footnote reference", "Footnote Symbol" },
+        { "Footnote Reference", "Footnote Symbol" },
 //        { "Annotation Reference", "" },
         { "Line Number", "Line numbering" },
         { "Page Number", "Page Number" },
-        { "endnote reference", "Endnote Characters" },
-        { "Endnote Reference", "Endnote Characters" },
+        { "endnote reference", "Endnote Symbol" },
+        { "Endnote Reference", "Endnote Symbol" },
         { "endnote text", "Endnote" },
         { "Endnote Text", "Endnote" },
 //        { "Table of Authorities", "" },

Reply via email to