diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-09-27 23:44:21 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-09-28 08:27:11 +0200 |
commit | c9f3277ea7bb22c395e8938168ce4df9101f7850 (patch) | |
tree | b155ca6e534e751cd2c4ba4b2ead8a181bbafa22 /starmath/source | |
parent | 0fa21336428b286d69684cfbb7b845f123657041 (diff) |
loplugin:stringconstant: Simplify construction of non-ASCII OUString
Change-Id: If80c53978106789824e6154db396baeecc1969dd
Reviewed-on: https://gerrit.libreoffice.org/42876
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/ElementsDockingWindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx index 7adf4ce5fd92..1a8f93119d5d 100644 --- a/starmath/source/ElementsDockingWindow.cxx +++ b/starmath/source/ElementsDockingWindow.cxx @@ -559,7 +559,7 @@ void SmElementsControl::addElements(const std::pair<const char*, const char*> aE } else { OUString aElement(OUString::createFromAscii(pElement)); if (aElement == RID_NEWLINE) - addElement(OUString( "\xe2\x86\xb5", 3, RTL_TEXTENCODING_UTF8 ), aElement, SmResId(pElementHelp)); + addElement(OUString(u"\u21B5"), aElement, SmResId(pElementHelp)); else if (aElement == RID_SBLANK) addElement("\"`\"", aElement, SmResId(pElementHelp)); else if (aElement == RID_BLANK) |