summaryrefslogtreecommitdiff
path: root/sfx2/source/menu/mnumgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/menu/mnumgr.cxx')
-rw-r--r--sfx2/source/menu/mnumgr.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/menu/mnumgr.cxx b/sfx2/source/menu/mnumgr.cxx
index f406c189aa25..b085e37740c5 100644
--- a/sfx2/source/menu/mnumgr.cxx
+++ b/sfx2/source/menu/mnumgr.cxx
@@ -237,8 +237,7 @@ IMPL_LINK( SfxMenuManager, Select, Menu *, pSelMenu )
const SfxSlot* pSlot = SfxSlotPool::GetSlotPool( pBindings->GetDispatcher()->GetFrame() ).GetSlot( nId );
if ( pSlot && pSlot->pUnoName )
{
- aCommand = DEFINE_CONST_UNICODE(".uno:");
- aCommand += rtl::OUString::createFromAscii( pSlot->GetUnoName() );
+ aCommand = ".uno:" + OUString::createFromAscii( pSlot->GetUnoName() );
}
}