diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
commit | e8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch) | |
tree | dae18a3acbf29c192118e7c003f80df8da8e21ae /framework/source/uielement/menubarmanager.cxx | |
parent | 1c8402465cfd4df862409dc310f5f099d044c4d8 (diff) |
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'framework/source/uielement/menubarmanager.cxx')
-rw-r--r-- | framework/source/uielement/menubarmanager.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index 61b1aaa6fd28..ec6e8469257e 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -486,7 +486,7 @@ throw ( RuntimeException ) if ( Event.State >>= bCheckmark ) { // Checkmark or RadioButton - m_pVCLMenu->ShowItem( pMenuItemHandler->nItemId, sal_True ); + m_pVCLMenu->ShowItem( pMenuItemHandler->nItemId, true ); m_pVCLMenu->CheckItem( pMenuItemHandler->nItemId, bCheckmark ); MenuItemBits nBits = m_pVCLMenu->GetItemBits( pMenuItemHandler->nItemId ); @@ -517,7 +517,7 @@ throw ( RuntimeException ) aItemText = aTmp; } - m_pVCLMenu->ShowItem( pMenuItemHandler->nItemId, sal_True ); + m_pVCLMenu->ShowItem( pMenuItemHandler->nItemId, true ); m_pVCLMenu->SetItemText( pMenuItemHandler->nItemId, aItemText ); } else if ( Event.State >>= aVisibilityStatus ) @@ -526,7 +526,7 @@ throw ( RuntimeException ) m_pVCLMenu->ShowItem( pMenuItemHandler->nItemId, aVisibilityStatus.bVisible ); } else - m_pVCLMenu->ShowItem( pMenuItemHandler->nItemId, sal_True ); + m_pVCLMenu->ShowItem( pMenuItemHandler->nItemId, true ); } if ( Event.Requery ) @@ -949,7 +949,7 @@ IMPL_LINK( MenuBarManager, Activate, Menu *, pMenu ) } } else if ( !bPopupMenu ) - pMenu->EnableItem( pMenuItemHandler->nItemId, sal_False ); + pMenu->EnableItem( pMenuItemHandler->nItemId, false ); } } else if ( pMenuItemHandler->xPopupMenuController.is() ) @@ -1727,7 +1727,7 @@ void MenuBarManager::FillMenu( pMenu->HideItem( nId ); if ( !bEnabled) - pMenu->EnableItem( nId, sal_False ); + pMenu->EnableItem( nId, false ); if ( xIndexContainer.is() ) { |