summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--writerfilter/source/dmapper/DomainMapperTableHandler.cxx6
-rw-r--r--writerfilter/source/dmapper/DomainMapper_Impl.cxx6
2 files changed, 4 insertions, 8 deletions
diff --git a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
index 41daf91124de..cab6d926e7f5 100644
--- a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
+++ b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
@@ -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;
}
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 42b57154e4b0..ff6ce1d8b3bf 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -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" )
{