diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2015-10-06 22:04:53 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2015-10-06 22:05:17 +0300 |
commit | 4c2339d8177d610cc23619e787c1517ce8e8afd7 (patch) | |
tree | bf3e3e443ea02b2811854eeba46271f9f8529222 /framework/source | |
parent | fedf965c51a9f57e5cde203a3d15a6c244558002 (diff) |
simplify
Change-Id: I56941b364c42e725275d80d764c672002ee1e626
Diffstat (limited to 'framework/source')
-rw-r--r-- | framework/source/uielement/menubarmanager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index eff5bdb6e4d8..f4638184ce51 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -444,7 +444,7 @@ throw ( RuntimeException, std::exception ) { // Checkmark or RadioButton m_pVCLMenu->ShowItem( pMenuItemHandler->nItemId ); - m_pVCLMenu->CheckItem( pMenuItemHandler->nItemId, ( aItemText == aEnumPart ) ? true : false ); + m_pVCLMenu->CheckItem( pMenuItemHandler->nItemId, aItemText == aEnumPart ); MenuItemBits nBits = m_pVCLMenu->GetItemBits( pMenuItemHandler->nItemId ); //If not already designated RadioButton set as CheckMark |