[Libreoffice-commits] core.git: framework/source

Maxim Monastirsky momonasmon at gmail.com
Tue Apr 12 17:58:16 UTC 2016


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

New commits:
commit 5b246318073a9dbe26b8d83b59753e1b7a595980
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date:   Tue Apr 12 20:56:44 2016 +0300

    Try to fix Windows build
    
    Change-Id: I46d1d3428ba1cfd8c0ab47aff6b32807e52c3c48

diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx
index 91e1a51..e156752 100644
--- a/framework/source/uielement/popuptoolbarcontroller.cxx
+++ b/framework/source/uielement/popuptoolbarcontroller.cxx
@@ -467,7 +467,7 @@ void SaveToolbarController::statusChanged( const css::frame::FeatureStateEvent&
             vcl::CommandInfoProvider::Instance().GetTooltipForCommand( rEvent.IsEnabled ? m_aCommandURL : OUString( ".uno:SaveAs" ), m_xFrame ) );
         pToolBox->SetItemBits( nId, pToolBox->GetItemBits( nId ) & ~( rEvent.IsEnabled ? ToolBoxItemBits::DROPDOWNONLY : ToolBoxItemBits::DROPDOWN ) );
         pToolBox->SetItemBits( nId, pToolBox->GetItemBits( nId ) |  ( rEvent.IsEnabled ? ToolBoxItemBits::DROPDOWN : ToolBoxItemBits::DROPDOWNONLY ) );
-        if ( m_bSaveAsModeActive == rEvent.IsEnabled )
+        if ( m_bSaveAsModeActive == bool( rEvent.IsEnabled ) )
         {
             m_bSaveAsModeActive = !rEvent.IsEnabled;
             updateImage();


More information about the Libreoffice-commits mailing list