basic/source/comp/exprtree.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit f0f462bfa5465aa978c82e6c4aad058d9b760e93 Author: Doğa Deniz Arıcı <bluegreenbr...@gmail.com> AuthorDate: Mon Dec 31 01:24:52 2018 +0300 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Thu Jan 10 08:50:31 2019 +0100 tdf#112689: Replace chained O(U)StringBuffer::append() with operator+ Change-Id: Ieb5c1e13ae647b49fd563f1759d744bd5f008ce1 Reviewed-on: https://gerrit.libreoffice.org/65758 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.k...@collabora.com> Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx index 20d0691cd0c9..ed7f49e1b4e0 100644 --- a/basic/source/comp/exprtree.cxx +++ b/basic/source/comp/exprtree.cxx @@ -140,9 +140,8 @@ static SbiSymDef* AddSym ( SbiToken eTok, SbiSymPool& rPool, SbiExprType eCurExp // generate dummy parameters for( sal_Int32 n = 1; n <= pPar->GetSize(); n++ ) { - OUStringBuffer aPar("PAR"); - aPar.append(n); - pProc->GetParams().AddSym( aPar.makeStringAndClear() ); + OUString aPar = "PAR" + OUString::number( n ); + pProc->GetParams().AddSym( aPar ); } } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits