framework/source/uielement/menubarmanager.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4c2339d8177d610cc23619e787c1517ce8e8afd7
Author: Maxim Monastirsky <momonas...@gmail.com>
Date:   Tue Oct 6 22:04:53 2015 +0300

    simplify
    
    Change-Id: I56941b364c42e725275d80d764c672002ee1e626

diff --git a/framework/source/uielement/menubarmanager.cxx 
b/framework/source/uielement/menubarmanager.cxx
index eff5bdb..f463818 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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to