summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/bastype3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/bastype3.cxx')
-rw-r--r--basctl/source/basicide/bastype3.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/basctl/source/basicide/bastype3.cxx b/basctl/source/basicide/bastype3.cxx
index 194d52d175e3..db15a6a6787e 100644
--- a/basctl/source/basicide/bastype3.cxx
+++ b/basctl/source/basicide/bastype3.cxx
@@ -455,13 +455,7 @@ SvTreeListEntry* TreeListBox::FindRootEntry( const ScriptDocument& rDocument, Li
OUString CreateMgrAndLibStr( const OUString& rMgrName, const OUString& rLibName )
{
- OUStringBuffer aName;
- aName.append('[');
- aName.append(rMgrName);
- aName.append(']');
- aName.append('.');
- aName.append(rLibName);
- return aName.makeStringAndClear();
+ return "[" + rMgrName + "]." + rLibName;
}