Kaydet (Commit) ba257d74 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringconstant: handle OUString+=OUString(literal)

Change-Id: If9324bfb77d5f98ce6f968e0aa095f285ef7583f
üst 786447f1
......@@ -844,11 +844,9 @@ CellPropertyValuesSeq_t DomainMapperTableHandler::endTableGetCellProperties(Tabl
sal_Int32 nDebugCellProperties = aDebugCellProperties.getLength();
for( sal_Int32 nDebugProperty = 0; nDebugProperty < nDebugCellProperties; ++nDebugProperty)
{
const OUString sName = aDebugCellProperties[nDebugProperty].Name;
sNames += sName;
sNames += OUString('-');
sNames += aDebugCellProperties[nDebugProperty].Name + "-";
}
sNames += OUString('\n');
sNames += "\n";
}
(void)sNames;
}
......
......@@ -2672,8 +2672,7 @@ void FieldContext::AppendCommand(const OUString& rPart)
if (bInString)
{
sPart += OUString(' ');
sPart += sToken;
sPart += " " + sToken;
if (!bInStringNext)
{
aResult.push_back(sPart);
......@@ -3720,8 +3719,7 @@ void DomainMapper_Impl::CloseFieldCommand()
if (aPartIt == aItEnd)
break;
sURL += OUString('#');
sURL += *aPartIt;
sURL += "#" + *aPartIt;
}
else if ( *aPartIt == "\\m" || *aPartIt == "\\n" )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment