summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx3
-rw-r--r--xmloff/source/draw/sdxmlexp.cxx4
2 files changed, 3 insertions, 4 deletions
diff --git a/xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx b/xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx
index 6a7f4c7cac73..82159e0175fc 100644
--- a/xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx
+++ b/xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx
@@ -44,8 +44,7 @@ const OUString& UnoInterfaceToUniqueIdentifierMapper::registerReference( const R
}
else
{
- OUString aId( "id" );
- aId += OUString::number( mnNextId++ );
+ OUString aId = "id" + OUString::number( mnNextId++ );
return (*maEntries.emplace( aId, xRef ).first).first;
}
}
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx
index 930539053467..212f6060edae 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -689,8 +689,8 @@ bool SdXMLExport::ImpPrepAutoLayoutInfo(const Reference<XDrawPage>& xPage, OUStr
{
pNew = new ImpXMLAutoLayoutInfo(nType, pInfo);
mvAutoLayoutInfoList.emplace_back( pNew );
- OUString sNewName = "AL";
- sNewName += OUString::number(mvAutoLayoutInfoList.size() - 1);
+ OUString sNewName =
+ "AL" + OUString::number(mvAutoLayoutInfoList.size() - 1);
sNewName += "T" + OUString::number(nType);
pNew->SetLayoutName(sNewName);
}