[Libreoffice-commits] core.git: editeng/source
Neil Moore
dar13.moore at gmail.com
Sat Aug 10 08:02:59 PDT 2013
editeng/source/items/flditem.cxx | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
New commits:
commit 9ffa46f008cf650955c6894f065fde02b647d717
Author: Neil Moore <dar13.moore at gmail.com>
Date: Fri Aug 9 02:02:34 2013 -0400
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 at gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud at gmail.com>
diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx
index bc67903..58aeb95 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;
More information about the Libreoffice-commits
mailing list