summaryrefslogtreecommitdiff
path: root/framework/source/uielement/togglebuttontoolbarcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uielement/togglebuttontoolbarcontroller.cxx')
-rw-r--r--framework/source/uielement/togglebuttontoolbarcontroller.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/uielement/togglebuttontoolbarcontroller.cxx b/framework/source/uielement/togglebuttontoolbarcontroller.cxx
index 58bddcecfb67..03068017932d 100644
--- a/framework/source/uielement/togglebuttontoolbarcontroller.cxx
+++ b/framework/source/uielement/togglebuttontoolbarcontroller.cxx
@@ -119,15 +119,15 @@ throw (::com::sun::star::uno::RuntimeException)
OUString aLabel( m_aDropdownMenuList[i] );
aPopup.InsertItem( sal_uInt16( i+1 ), aLabel );
if ( aLabel == m_aCurrentSelection )
- aPopup.CheckItem( sal_uInt16( i+1 ), sal_True );
+ aPopup.CheckItem( sal_uInt16( i+1 ), true );
else
- aPopup.CheckItem( sal_uInt16( i+1 ), sal_False );
+ aPopup.CheckItem( sal_uInt16( i+1 ), false );
}
- m_pToolbar->SetItemDown( m_nID, sal_True );
+ m_pToolbar->SetItemDown( m_nID, true );
aPopup.SetSelectHdl( LINK( this, ToggleButtonToolbarController, MenuSelectHdl ));
aPopup.Execute( m_pToolbar, m_pToolbar->GetItemRect( m_nID ));
- m_pToolbar->SetItemDown( m_nID, sal_False );
+ m_pToolbar->SetItemDown( m_nID, false );
}
return xWindow;