summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
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;
}
}