summaryrefslogtreecommitdiff
path: root/sw/source/ui/lingu
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2002-08-07 06:46:14 +0000
committerOliver Specht <os@openoffice.org>2002-08-07 06:46:14 +0000
commit9583a8f5a6b3d3f06351784a04695b6703670927 (patch)
tree0d2315293dbcd89f6e7631769e94dfc85ffc28c8 /sw/source/ui/lingu
parenta22d524ab9f14c7887eabd9ac831d5197577a19c (diff)
#102101# auto-mnemonics disabled in spelling PopupMenu
Diffstat (limited to 'sw/source/ui/lingu')
-rw-r--r--sw/source/ui/lingu/olmenu.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/ui/lingu/olmenu.cxx b/sw/source/ui/lingu/olmenu.cxx
index aee2a8c476e3..b619f9c4a437 100644
--- a/sw/source/ui/lingu/olmenu.cxx
+++ b/sw/source/ui/lingu/olmenu.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: olmenu.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: tl $ $Date: 2002-03-19 09:12:55 $
+ * last change: $Author: os $ $Date: 2002-08-07 07:46:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -223,6 +223,7 @@ SwSpellPopup::SwSpellPopup( SwWrtShell* pWrtSh, const Reference< XSpellAlternati
sal_Int16 nStringCount = aStrings.getLength();
PopupMenu *pMenu = GetPopupMenu(MN_AUTOCORR);
+ pMenu->SetMenuFlags(MENU_FLAG_NOAUTOMNEMONICS);
sal_Bool bEnable = sal_False;
if( nStringCount )
{
@@ -305,6 +306,7 @@ SwSpellPopup::SwSpellPopup( SwWrtShell* pWrtSh, const Reference< XSpellAlternati
---------------------------------------------------------------------------*/
sal_uInt16 SwSpellPopup::Execute( Window* pWin, const Point& rWordPos )
{
+ SetMenuFlags(MENU_FLAG_NOAUTOMNEMONICS);
sal_uInt16 nRet = PopupMenu::Execute(pWin, pWin->LogicToPixel(rWordPos));
sal_Bool bAutoCorr = sal_False;
if( nRet > MN_AUTOCORR_START && nRet != USHRT_MAX )