From d93915b2aeabbde90b7eb539116b9be49e0d1a5c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 14 May 2015 15:28:57 +0200 Subject: conver MENU_FLAG_ constants to scoped enum Change-Id: I969d99fa8881cc89601696a2d8621905a82b147b --- editeng/source/editeng/editview.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editeng/source') diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx index aaa457eee2ac..049c5a1eb256 100644 --- a/editeng/source/editeng/editview.cxx +++ b/editeng/source/editeng/editview.cxx @@ -773,7 +773,7 @@ void EditView::ExecuteSpellPopup( const Point& rPosPixel, Link<>* pCallBack ) PopupMenu aPopupMenu( EditResId( RID_MENU_SPELL ) ); PopupMenu *pAutoMenu = aPopupMenu.GetPopupMenu( MN_AUTOCORR ); PopupMenu *pInsertMenu = aPopupMenu.GetPopupMenu( MN_INSERT ); // add word to user-dictionaries - pInsertMenu->SetMenuFlags( MENU_FLAG_NOAUTOMNEMONICS ); //! necessary to retrieve the correct dictionary names later + pInsertMenu->SetMenuFlags( MenuFlags::NoAutoMnemonics ); //! necessary to retrieve the correct dictionary names later EditPaM aPaM2( aPaM ); aPaM2.SetIndex( aPaM2.GetIndex()+1 ); @@ -846,7 +846,7 @@ void EditView::ExecuteSpellPopup( const Point& rPosPixel, Link<>* pCallBack ) if ( Application::IsAutoMnemonicEnabled() ) { aPopupMenu.CreateAutoMnemonics(); - aPopupMenu.SetMenuFlags( aPopupMenu.GetMenuFlags() | MENU_FLAG_NOAUTOMNEMONICS ); + aPopupMenu.SetMenuFlags( aPopupMenu.GetMenuFlags() | MenuFlags::NoAutoMnemonics ); } // Replace suggestions... -- cgit v1.2.3