From b08a2b299418db84a71fe625f127f0484746010e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 20 Apr 2021 09:51:16 +0200 Subject: use OUString::Concat here, not OUStringLiteral Change-Id: Ia2172bcab60f32c9d9d4f6ca0230484343eef69b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114321 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/window/mnemonic.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/source/window/mnemonic.cxx') diff --git a/vcl/source/window/mnemonic.cxx b/vcl/source/window/mnemonic.cxx index 42a3d4ad258e..4dd12668b48d 100644 --- a/vcl/source/window/mnemonic.cxx +++ b/vcl/source/window/mnemonic.cxx @@ -267,7 +267,7 @@ OUString MnemonicGenerator::CreateMnemonic( const OUString& _rKey ) if ( maMnemonics[nMnemonicIndex] ) { maMnemonics[nMnemonicIndex] = 0; - OUString aStr = OUStringLiteral(u"(") + OUStringChar(m_cMnemonic) + + OUString aStr = OUString::Concat("(") + OUStringChar(m_cMnemonic) + OUStringChar(sal_Unicode(rtl::toAsciiUpperCase(c))) + ")"; nIndex = rKey.getLength(); -- cgit