diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2023-05-11 00:56:56 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2023-05-11 11:20:47 +0200 |
commit | c83d241effbd09491e9f96d3e435ab91700f58b0 (patch) | |
tree | ce4a920ea401145ed950751534bb925b9f7f5a75 /sw/qa/uitest | |
parent | 1e885b09f99d5edb2d10c9ad32a9ab538141a661 (diff) |
tdf#154933 Rename "Text Body" para style to "Body Text"
- Change only the UI name, leaving the programmatic name
which used by ODF and UNO API unchanged.
- DOCX shouldn't be affected either, as that style is
mapped to Word's "Text Body".
- RTF export used to use the UI name (at least in 7.5).
Which means that files created in older LO will show 2
styles for old and new names (same would happen also with
files created with a different UI language). It seems to
be no longer the case in current master.
Change-Id: I8a4866d5db5f964a5d45071fb09a99ed4996fae4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151653
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sw/qa/uitest')
-rw-r--r-- | sw/qa/uitest/styleInspector/styleInspector.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/uitest/styleInspector/styleInspector.py b/sw/qa/uitest/styleInspector/styleInspector.py index 5863c295df4d..b10c40e71311 100644 --- a/sw/qa/uitest/styleInspector/styleInspector.py +++ b/sw/qa/uitest/styleInspector/styleInspector.py @@ -110,7 +110,7 @@ class styleNavigator(UITestCase): self.assertEqual(3, len(xParStyle.getChildren())) self.assertEqual("Default Paragraph Style\t", get_state_as_dict(xParStyle.getChild('0'))['Text']) self.assertEqual(140, len(xParStyle.getChild('0').getChildren())) - self.assertEqual("Text Body\t", get_state_as_dict(xParStyle.getChild('1'))['Text']) + self.assertEqual("Body Text\t", get_state_as_dict(xParStyle.getChild('1'))['Text']) self.assertEqual(6, len(xParStyle.getChild('1').getChildren())) xCustomStyle = xParStyle.getChild('2') |