diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-14 15:28:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-15 10:05:02 +0200 |
commit | d93915b2aeabbde90b7eb539116b9be49e0d1a5c (patch) | |
tree | 0d28a83b9c4633b979c46d8ce6b6054748fa8d13 /sc | |
parent | 4f4cff08aac32db6fa580423b5fde661c8b0743a (diff) |
conver MENU_FLAG_ constants to scoped enum
Change-Id: I969d99fa8881cc89601696a2d8621905a82b147b
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/dbgui/csvgrid.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/acredlin.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/navipi/content.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/dbgui/csvgrid.cxx b/sc/source/ui/dbgui/csvgrid.cxx index 8d29dc1b9349..09a6f2ee539a 100644 --- a/sc/source/ui/dbgui/csvgrid.cxx +++ b/sc/source/ui/dbgui/csvgrid.cxx @@ -78,7 +78,7 @@ ScCsvGrid::ScCsvGrid( ScCsvControl& rParent ) : mpEditEngine->SetRefMapMode( MapMode( MAP_PIXEL ) ); maEdEngSize = mpEditEngine->GetPaperSize(); - maPopup.SetMenuFlags( maPopup.GetMenuFlags() | MENU_FLAG_NOAUTOMNEMONICS ); + maPopup.SetMenuFlags( maPopup.GetMenuFlags() | MenuFlags::NoAutoMnemonics ); EnableRTL( false ); // RTL InitFonts(); diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx index 32bcda49cf46..01d8e419477a 100644 --- a/sc/source/ui/miscdlgs/acredlin.cxx +++ b/sc/source/ui/miscdlgs/acredlin.cxx @@ -1701,7 +1701,7 @@ IMPL_LINK_NOARG(ScAcceptChgDlg, CommandHdl) { ScPopupMenu aPopup(ScResId(RID_POPUP_CHANGES)); - aPopup.SetMenuFlags(MENU_FLAG_HIDEDISABLEDENTRIES); + aPopup.SetMenuFlags(MenuFlags::HideDisabledEntries); SvTreeListEntry* pEntry=pTheView->GetCurEntry(); if(pEntry!=NULL) diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx index 30ebd411df31..3b583113706b 100644 --- a/sc/source/ui/navipi/content.cxx +++ b/sc/source/ui/navipi/content.cxx @@ -591,7 +591,7 @@ void ScContentTree::Command( const CommandEvent& rCEvt ) // angezeigtes Dokument ScPopupMenu aDocMenu; - aDocMenu.SetMenuFlags( aDocMenu.GetMenuFlags() | MENU_FLAG_NOAUTOMNEMONICS ); + aDocMenu.SetMenuFlags( aDocMenu.GetMenuFlags() | MenuFlags::NoAutoMnemonics ); sal_uInt16 i=0; sal_uInt16 nPos=0; // geladene Dokumente |