writerfilter/source/dmapper/StyleSheetTable.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit b4ce64c4a02ad81a5f08623bab22910ef3daedbf Author: László Németh <[email protected]> AuthorDate: Mon Oct 3 17:15:04 2022 +0200 Commit: László Németh <[email protected]> CommitDate: Tue Oct 4 14:30:26 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 <[email protected]> Reviewed-by: László Németh <[email protected]> (cherry picked from commit 66a495cb25567b432e5bd04cf61229db2b775672) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140890 Tested-by: Jenkins diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx index 7b1e74358ff0..3a6d540b7ab8 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", "" },
