summaryrefslogtreecommitdiffstats
path: root/sc/source/core/data/funcdesc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/funcdesc.cxx')
-rw-r--r--sc/source/core/data/funcdesc.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/sc/source/core/data/funcdesc.cxx b/sc/source/core/data/funcdesc.cxx
index 9efd334a4401..c7ea3cc5f927 100644
--- a/sc/source/core/data/funcdesc.cxx
+++ b/sc/source/core/data/funcdesc.cxx
@@ -874,14 +874,8 @@ ScFunctionList::ScFunctionList()
pDesc->nFIndex = nNextId++; // ??? OpCode vergeben
pDesc->nCategory = ID_FUNCTION_GRP_ADDINS;
pDesc->mxFuncName = pLegacyFuncData->GetInternalName().toAsciiUpperCase();
-
- OUStringBuffer aBuf(aArgDesc);
- aBuf.append('\n');
- aBuf.append("( AddIn: ");
- aBuf.append(pLegacyFuncData->GetModuleName());
- aBuf.append(" )");
- pDesc->mxFuncDesc = aBuf.makeStringAndClear();
-
+ pDesc->mxFuncDesc = aArgDesc + "\n"
+ "( AddIn: " + pLegacyFuncData->GetModuleName() + " )";
pDesc->nArgCount = nArgs;
if (nArgs)
{