diff options
author | David Tardon <dtardon@redhat.com> | 2010-12-12 10:03:13 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2010-12-14 18:28:53 +0100 |
commit | fae626b938106e00d8f4dfb5c4ca8e9294b37c30 (patch) | |
tree | 638040ec5cd3eecc8c2969bbd4b379a1d2a4cd59 | |
parent | d873fc5f1226f4689936b736704b2f3d9156bbe5 (diff) |
fdo#31716 the help text is not used for anything -- do not set it
Signed-off-by: Petr Mladek <pmladek@suse.cz>
-rw-r--r-- | sfx2/source/menu/virtmenu.cxx | 6 |
1 files 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 ); } } |