diff options
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(); |