diff options
Diffstat (limited to 'sc/source/filter/qpro/qproform.cxx')
-rw-r--r-- | sc/source/filter/qpro/qproform.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/filter/qpro/qproform.cxx b/sc/source/filter/qpro/qproform.cxx index a02b9533247a..89904a27d49c 100644 --- a/sc/source/filter/qpro/qproform.cxx +++ b/sc/source/filter/qpro/qproform.cxx @@ -81,9 +81,8 @@ void QProToSc::DoFunc( DefTokenId eOc, sal_uInt16 nArgs, const sal_Char* pExtStr bAddIn = true; if( pExtString ) { - OStringBuffer s("QPRO_"); - s.append(pExtString); - nPush = aPool.Store(eOc, OStringToOUString(s.makeStringAndClear(), maIn.GetStreamCharSet())); + OString s = OStringLiteral("QPRO_") + pExtString; + nPush = aPool.Store(eOc, OStringToOUString(s, maIn.GetStreamCharSet())); aPool << nPush; } else |