diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-04-03 23:58:59 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-04-06 22:19:55 +0200 |
commit | 487099327b957fc55ae643967eec9a353a1f954f (patch) | |
tree | 99c55fab7205a928b32a05c208e2cb0d789908d1 | |
parent | 96fb465431dab1362f10b8c7d0981db26b343f01 (diff) |
Avoid concatenated OUString appends
Change-Id: Ib1daffc252bf389c04cad8ae84f14c9b99c852b9
-rw-r--r-- | sw/source/ui/dialog/ascfldlg.cxx | 6 |
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); } } |