summaryrefslogtreecommitdiff
path: root/framework/source/uielement/popuptoolbarcontroller.cxx
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2016-04-12 20:56:44 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2016-04-12 20:57:39 +0300
commit5b246318073a9dbe26b8d83b59753e1b7a595980 (patch)
treefc2833f0e232a62e2a8dc871c2a6ad91b8aab81f /framework/source/uielement/popuptoolbarcontroller.cxx
parent2aabf1023990c68f48d740fcdd9a48ce5ed7b23c (diff)
Try to fix Windows build
Change-Id: I46d1d3428ba1cfd8c0ab47aff6b32807e52c3c48
Diffstat (limited to 'framework/source/uielement/popuptoolbarcontroller.cxx')
-rw-r--r--framework/source/uielement/popuptoolbarcontroller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx
index 91e1a514e7ae..e15675267a40 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();