Bugzilla – Attachment 41024 Details for
Bug 31716
[UI]: Right-click for context menu causes CPU-bound hang for several seconds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
possible fix
0001-fdo-31716-the-help-text-is-not-used-for-anything-do-.patch (text/plain), 1.56 KB, created by
David Tardon
on 2010-12-12 01:14:49 UTC
(
hide
)
Description:
possible fix
Filename:
MIME Type:
Creator:
David Tardon
Created:
2010-12-12 01:14:49 UTC
Size:
1.56 KB
patch
obsolete
>From 00bbb33de0510b77c5dd61d29745b75136dfc65d Mon Sep 17 00:00:00 2001 >From: David Tardon <dtardon@redhat.com> >Date: Sun, 12 Dec 2010 10:03:13 +0100 >Subject: [PATCH] fdo#31716 the help text is not used for anything -- do not set it > >--- > 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 1f51b12..dbeb2a2 100644 >--- a/sfx2/source/menu/virtmenu.cxx >+++ b/sfx2/source/menu/virtmenu.cxx >@@ -396,7 +396,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 ) > { >@@ -799,7 +799,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 >@@ -1305,7 +1305,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 ); > } > } >-- >1.7.3.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 31716
: 41024