summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/basides2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/basides2.cxx')
-rw-r--r--basctl/source/basicide/basides2.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/basctl/source/basicide/basides2.cxx b/basctl/source/basicide/basides2.cxx
index 052486ce22b4..1b096908ecdb 100644
--- a/basctl/source/basicide/basides2.cxx
+++ b/basctl/source/basicide/basides2.cxx
@@ -199,12 +199,7 @@ ModulWindow* Shell::CreateBasWin( const ScriptDocument& rDocument, const OUStrin
ModuleInfoHelper::getObjectName( xLib, rModName, sObjName );
if( !sObjName.isEmpty() )
{
- OUStringBuffer aModNameBuf(aModName);
- aModNameBuf.append(' ');
- aModNameBuf.append('(');
- aModNameBuf.append(sObjName);
- aModNameBuf.append(')');
- aModName = aModNameBuf.makeStringAndClear();
+ aModName += " (" + sObjName + ")";
}
}
pTabBar->InsertPage( (sal_uInt16)nKey, aModName );