Styles > Text Body menu didn't work in non-English UI

Capitalization of "Body" present only in the UI name
of the style, but that might be something completely
different in other languages. We need to reference
the style using its programmatic name instead.

Change-Id: I2d980a225d6f5346d378947621ace3a17e0a8f81
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87842
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
This commit is contained in:
Maxim Monastirsky
2020-02-03 01:41:21 +02:00
committed by Adolfo Jayme Barrientos
parent dcbd3bf2db
commit 18b2cecfef

View File

@@ -3267,7 +3267,7 @@
<value xml:lang="en-US">Text Body Paragraph Style</value>
</prop>
<prop oor:name="TargetURL" oor:type="xs:string">
<value>.uno:StyleApply?Style:string=Text Body&amp;FamilyName:string=ParagraphStyles</value>
<value>.uno:StyleApply?Style:string=Text body&amp;FamilyName:string=ParagraphStyles</value>
</prop>
<prop oor:name="Properties" oor:type="xs:int">
<value>9</value>