diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-07 11:48:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-07 11:48:25 +0000 |
commit | 9c0049cfae49c8e4ddef9125a69db2ad134c10c6 (patch) | |
tree | 812a86c0eee63dfc5ace12f2622ed3ce9cd3d680 /filter | |
parent | Releasing progress-linux version 4:24.2.3-2~progress7.99u1. (diff) | |
download | libreoffice-9c0049cfae49c8e4ddef9125a69db2ad134c10c6.tar.xz libreoffice-9c0049cfae49c8e4ddef9125a69db2ad134c10c6.zip |
Merging upstream version 4:24.2.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/util.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/filter/source/msfilter/util.cxx b/filter/source/msfilter/util.cxx index 4c9a065841..4e37947abe 100644 --- a/filter/source/msfilter/util.cxx +++ b/filter/source/msfilter/util.cxx @@ -320,11 +320,8 @@ OUString CreateDOCXStyleId(std::u16string_view const aName) sal_Unicode nChar = aName[i]; if (rtl::isAsciiAlphanumeric(nChar) || nChar == '-') { - // first letter should be uppercase - if (aStyleIdBuf.isEmpty()) - aStyleIdBuf.append(char(rtl::toAsciiUpperCase(nChar))); - else - aStyleIdBuf.append(char(nChar)); + // do not uppercase first letter + aStyleIdBuf.append(char(nChar)); } } return aStyleIdBuf.makeStringAndClear(); |