From 3ee177a14d8b816ef5b62500aeb54524c289e045 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 15 Oct 2019 20:24:10 +0200 Subject: loplugin:stringadd look through a couple more known-good methods Change-Id: Ifbdb3e41eae665f7dcaf5301aaba2b6e4662cf48 Reviewed-on: https://gerrit.libreoffice.org/80855 Tested-by: Jenkins Reviewed-by: Noel Grandin --- starmath/source/dialog.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'starmath/source') diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 3d5442fb4075..1c2d5f3405fc 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -1585,8 +1585,8 @@ IMPL_LINK_NOARG(SmSymDefineDialog, CharHighlightHdl, SvxShowCharSet*, void) // display Unicode position as symbol name while iterating over characters const OUString aHex(OUString::number(cChar, 16).toAsciiUpperCase()); const OUString aPattern( (aHex.getLength() > 4) ? OUString("Ux000000") : OUString("Ux0000") ); - OUString aUnicodePos( aPattern.copy( 0, aPattern.getLength() - aHex.getLength() ) ); - aUnicodePos += aHex; + OUString aUnicodePos = aPattern.copy( 0, aPattern.getLength() - aHex.getLength() ) + + aHex; m_xSymbols->set_entry_text(aUnicodePos); m_xSymbolName->set_label(aUnicodePos); } -- cgit