summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-04-03 23:58:59 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-04-06 22:19:55 +0200
commit487099327b957fc55ae643967eec9a353a1f954f (patch)
tree99c55fab7205a928b32a05c208e2cb0d789908d1
parent96fb465431dab1362f10b8c7d0981db26b343f01 (diff)
Avoid concatenated OUString appends
Change-Id: Ib1daffc252bf389c04cad8ae84f14c9b99c852b9
-rw-r--r--sw/source/ui/dialog/ascfldlg.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sw/source/ui/dialog/ascfldlg.cxx b/sw/source/ui/dialog/ascfldlg.cxx
index b93c7e425408..a1d129586efe 100644
--- a/sw/source/ui/dialog/ascfldlg.cxx
+++ b/sw/source/ui/dialog/ascfldlg.cxx
@@ -276,11 +276,7 @@ void SwAsciiFilterDlg::FillOptions( SwAsciiOptions& rOptions )
if( -1 != nEnd )
GetExtraData() = GetExtraData().replaceAt( nStt, nEnd - nStt + 1, "" );
}
- OUString sTmp(GetExtraData());
- sTmp += sFindNm;
- sTmp += sData;
- sTmp += OUString(cDialogExtraDataClose);
- GetExtraData() = sTmp;
+ GetExtraData() += sFindNm + sData + OUString(cDialogExtraDataClose);
}
}