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 /accessibility/source | |
parent | 4f4cff08aac32db6fa580423b5fde661c8b0743a (diff) |
conver MENU_FLAG_ constants to scoped enum
Change-Id: I969d99fa8881cc89601696a2d8621905a82b147b
Diffstat (limited to 'accessibility/source')
-rw-r--r-- | accessibility/source/standard/accessiblemenuitemcomponent.cxx | 2 | ||||
-rw-r--r-- | accessibility/source/standard/vclxaccessiblemenuitem.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/accessibility/source/standard/accessiblemenuitemcomponent.cxx b/accessibility/source/standard/accessiblemenuitemcomponent.cxx index 6b4bc4c838f5..34c650c05a70 100644 --- a/accessibility/source/standard/accessiblemenuitemcomponent.cxx +++ b/accessibility/source/standard/accessiblemenuitemcomponent.cxx @@ -501,7 +501,7 @@ bool OAccessibleMenuItemComponent::IsMenuHideDisabledEntries() { if (m_pParent ) { - if( m_pParent->GetMenuFlags() & MENU_FLAG_HIDEDISABLEDENTRIES) + if( m_pParent->GetMenuFlags() & MenuFlags::HideDisabledEntries) { return true; } diff --git a/accessibility/source/standard/vclxaccessiblemenuitem.cxx b/accessibility/source/standard/vclxaccessiblemenuitem.cxx index 9ee4986ab015..05c2bb0b5853 100644 --- a/accessibility/source/standard/vclxaccessiblemenuitem.cxx +++ b/accessibility/source/standard/vclxaccessiblemenuitem.cxx @@ -471,7 +471,7 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleMenuItem::getAccessibleActionKe if ( m_pParent ) { // create auto mnemonics - if ( Application::GetSettings().GetStyleSettings().GetAutoMnemonic() && !( m_pParent->GetMenuFlags() & MENU_FLAG_NOAUTOMNEMONICS ) ) + if ( Application::GetSettings().GetStyleSettings().GetAutoMnemonic() && !( m_pParent->GetMenuFlags() & MenuFlags::NoAutoMnemonics ) ) m_pParent->CreateAutoMnemonics(); // activation key |