summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/macrodlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/macrodlg.cxx')
-rw-r--r--basctl/source/basicide/macrodlg.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx
index a8ad23249269..3c15cbc1434a 100644
--- a/basctl/source/basicide/macrodlg.cxx
+++ b/basctl/source/basicide/macrodlg.cxx
@@ -497,11 +497,7 @@ IMPL_LINK_TYPED( MacroChooser, BasicSelectHdl, SvTreeListBox *, pBox, void )
m_pMacroBox->Clear();
if ( pModule )
{
- OUString aStr = m_aMacrosInTxtBaseStr;
- aStr += " " ;
- aStr += pModule->GetName();
-
- m_pMacrosInTxt->SetText( aStr );
+ m_pMacrosInTxt->SetText( m_aMacrosInTxtBaseStr + " " + pModule->GetName() );
// The macros should be called in the same order that they
// are written down in the module.