summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/source/items/flditem.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx
index bc67903341eb..58aeb954f3fa 100644
--- a/editeng/source/items/flditem.cxx
+++ b/editeng/source/items/flditem.cxx
@@ -1127,12 +1127,7 @@ OUString SvxAuthorField::GetFormatted() const
switch( eFormat )
{
case SVXAUTHORFORMAT_FULLNAME:
- {
- OUStringBuffer aBuf(aFirstName);
- aBuf.append(sal_Unicode(' '));
- aBuf.append(aName);
- aString = aBuf.makeStringAndClear();
- }
+ aString = aFirstName + " " + aName;
break;
case SVXAUTHORFORMAT_NAME:
aString = aName;