From fae626b938106e00d8f4dfb5c4ca8e9294b37c30 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sun, 12 Dec 2010 10:03:13 +0100 Subject: fdo#31716 the help text is not used for anything -- do not set it Signed-off-by: Petr Mladek --- sfx2/source/menu/virtmenu.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sfx2/source/menu/virtmenu.cxx b/sfx2/source/menu/virtmenu.cxx index 2aee92224a..c499ee8841 100644 --- a/sfx2/source/menu/virtmenu.cxx +++ b/sfx2/source/menu/virtmenu.cxx @@ -409,7 +409,7 @@ void SfxVirtualMenu::CreateFromSVMenu() } const String sItemText = pSVMenu->GetItemText(nSlotId); - const String sHelpText = pSVMenu->GetHelpText(nSlotId); + const String sHelpText; // not used for anything -> just empty string if ( pPopup ) { @@ -815,7 +815,7 @@ bool SfxVirtualMenu::Bind_Impl( Menu *pMenu ) DBG_OUTF( ("Neues VirtualMenu %lx erzeugt", pSubMenu) ); rCtrl.Bind( this, nSID, *pSubMenu, - pSVMenu->GetItemText(nSID), pSVMenu->GetHelpText(nSID), + pSVMenu->GetItemText(nSID), String(), *pBindings ); // Activate weiterleiten @@ -1331,7 +1331,7 @@ void SfxVirtualMenu::InitPopup( USHORT nPos, BOOL /*bOLE*/ ) DBG_OUTF( ("Neues VirtualMenu %lx erzeugt", pSubMenu) ); rCtrl.Bind( this, nSID, *pSubMenu, - pSVMenu->GetItemText(nSID), pSVMenu->GetHelpText(nSID), + pSVMenu->GetItemText(nSID), String(), *pBindings ); } } -- cgit v1.2.3