Currently the default character style seems to be referenced internally by a translatable string, causing several problems for users of a non-English UI:
- Styles > Default Character menu item doesn't work.
- In some cases, the default style name might be saved into ODT, causing the document to not open properly when the UI lang isn't the same as where it was created. A simple way to reproduce this:
1) Open Writer with a non-English UI.
2) Type a word, format it with the "Heading 1" paragraph style.
3) Insert > Table of Contents and Index > Table of Contents, Index or Bibliography...
4) Switch to Entries tab, Click on LS button.
5) For the Character style, select the default style, click OK.
6) Save the document.
7) Change the UI lang to something else, and reopen the document.
8) Notice that the TOC entry has now a different formatting (blue color with an underline).
Expected that the default style will have a non-localizable name, like all other built-in styles, and will return the translatable name only when explicitly asked (via the "DisplayName" property).
Any chance to get that fixed in the 5.4 cycle?
*** Bug 114366 has been marked as a duplicate of this bug. ***
Maxim Monastirsky committed a patch related to this issue.
It has been pushed to "master":
tdf#108461 Correct use of the default style
It will be available in 6.2.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.