diff options
author | Neil Moore <dar13.moore@gmail.com> | 2013-08-09 02:02:34 -0400 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-08-10 15:02:37 +0000 |
commit | 9ffa46f008cf650955c6894f065fde02b647d717 (patch) | |
tree | d29a63170c753a138f3e7a93fabe7dec34f05ff2 /editeng/source/items/flditem.cxx | |
parent | 4f360266cd1335861c182493bde6ade0e67b753b (diff) |
Removed chained appends in SvxAuthorField, as part of Bug 57950.
Change-Id: Id23139b9bdd7897178a013d7dc9e39a670e3d4da
Reviewed-on: https://gerrit.libreoffice.org/5324
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'editeng/source/items/flditem.cxx')
-rw-r--r-- | editeng/source/items/flditem.cxx | 7 |
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; |