summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-15 20:24:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-16 07:57:45 +0200
commit3ee177a14d8b816ef5b62500aeb54524c289e045 (patch)
tree982b524a298c2b2f959f5c858c81be9b3420566a /sax
parent820f340f285932bbb8d6739177e9bb81c23c1a5d (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sax')
-rw-r--r--sax/qa/cppunit/xmlimport.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sax/qa/cppunit/xmlimport.cxx b/sax/qa/cppunit/xmlimport.cxx
index 63415c8b0b39..91c955982746 100644
--- a/sax/qa/cppunit/xmlimport.cxx
+++ b/sax/qa/cppunit/xmlimport.cxx
@@ -229,9 +229,8 @@ OUString resolveNamespace( const OUString& aName )
{
if ( aName.getLength() > index + 1 )
{
- OUString aAttributeName = getNamespaceValue( aName.copy( 0, index ) );
- aAttributeName += ":";
- aAttributeName += aName.copy( index + 1 );
+ OUString aAttributeName = getNamespaceValue( aName.copy( 0, index ) ) +
+ ":" + aName.copy( index + 1 );
return aAttributeName;
}
}