diff options
Diffstat (limited to 'svx/source/tbxctrls/tbxdrctl.cxx')
-rw-r--r-- | svx/source/tbxctrls/tbxdrctl.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/tbxctrls/tbxdrctl.cxx b/svx/source/tbxctrls/tbxdrctl.cxx index 34969ca00bc2..5943d6d0286d 100644 --- a/svx/source/tbxctrls/tbxdrctl.cxx +++ b/svx/source/tbxctrls/tbxdrctl.cxx @@ -55,7 +55,7 @@ using namespace ::com::sun::star::frame; // ----------------------------------------------------------------------- -SvxTbxCtlDraw::SvxTbxCtlDraw( USHORT nSlotId, USHORT nId, ToolBox& rTbx ) : +SvxTbxCtlDraw::SvxTbxCtlDraw( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ) : SfxToolBoxControl( nSlotId, nId, rTbx ), @@ -68,7 +68,7 @@ SvxTbxCtlDraw::SvxTbxCtlDraw( USHORT nSlotId, USHORT nId, ToolBox& rTbx ) : // ----------------------------------------------------------------------- -void SvxTbxCtlDraw::StateChanged( USHORT nSID, SfxItemState eState, +void SvxTbxCtlDraw::StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) { GetToolBox().EnableItem( GetId(), ( eState != SFX_ITEM_DISABLED ) ); @@ -94,7 +94,7 @@ void SvxTbxCtlDraw::toggleToolbox() Reference< XLayoutManager > xLayoutMgr = getLayoutManager(); if ( xLayoutMgr.is() ) { - BOOL bCheck = FALSE; + sal_Bool bCheck = sal_False; if ( xLayoutMgr->isElementVisible( m_sToolboxName ) ) { xLayoutMgr->hideElement( m_sToolboxName ); @@ -102,7 +102,7 @@ void SvxTbxCtlDraw::toggleToolbox() } else { - bCheck = TRUE; + bCheck = sal_True; xLayoutMgr->createElement( m_sToolboxName ); xLayoutMgr->showElement( m_sToolboxName ); } @@ -113,7 +113,7 @@ void SvxTbxCtlDraw::toggleToolbox() // ----------------------------------------------------------------------- -void SvxTbxCtlDraw::Select( BOOL ) +void SvxTbxCtlDraw::Select( sal_Bool ) { toggleToolbox(); } |