summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
Diffstat (limited to 'basic')
-rw-r--r--basic/source/comp/exprtree.cxx5
1 files changed, 2 insertions, 3 deletions
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 );
}
}
}