summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-14 14:33:10 +0200
committerNoel Grandin <noel@peralex.com>2015-05-15 10:05:02 +0200
commit4f4cff08aac32db6fa580423b5fde661c8b0743a (patch)
treecf91ac27509e32e724b87387bf07d6c8d35b695b /editeng/source
parent24181bfb0b49a011e201ecc111bac3b48ad5a1ff (diff)
convert POPUPMENU_ constants to scoped enum
Change-Id: I4cdaf36581d1e1daa39929e621070d18a9996852
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/editeng/editview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx
index a1db68fca13e..aaa457eee2ac 100644
--- a/editeng/source/editeng/editview.cxx
+++ b/editeng/source/editeng/editview.cxx
@@ -931,7 +931,7 @@ void EditView::ExecuteSpellPopup( const Point& rPosPixel, Link<>* pCallBack )
aScreenPos = pImpEditView->GetWindow()->OutputToScreenPixel( aScreenPos );
aTempRect = pImpEditView->GetWindow()->LogicToPixel( Rectangle(aScreenPos, aTempRect.GetSize() ));
- sal_uInt16 nId = aPopupMenu.Execute( pImpEditView->GetWindow(), aTempRect, POPUPMENU_NOMOUSEUPCLOSE );
+ sal_uInt16 nId = aPopupMenu.Execute( pImpEditView->GetWindow(), aTempRect, PopupMenuFlags::NoMouseUpClose );
if ( nId == MN_IGNORE )
{
OUString aWord = pImpEditView->SpellIgnoreOrAddWord( false );