summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/tbxctl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/tbxctl.cxx')
-rw-r--r--basctl/source/basicide/tbxctl.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/basctl/source/basicide/tbxctl.cxx b/basctl/source/basicide/tbxctl.cxx
index fab909754834..a0b9ff05bb33 100644
--- a/basctl/source/basicide/tbxctl.cxx
+++ b/basctl/source/basicide/tbxctl.cxx
@@ -56,7 +56,7 @@ SFX_IMPL_TOOLBOX_CONTROL( TbxControls, SfxAllEnumItem )
|*
\************************************************************************/
-TbxControls::TbxControls( USHORT nSlotId, USHORT nId, ToolBox& rTbx ) :
+TbxControls::TbxControls( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ) :
SfxToolBoxControl( nSlotId, nId, rTbx )
{
nLastSlot = USHRT_MAX;
@@ -77,7 +77,7 @@ SfxPopupWindowType TbxControls::GetPopupWindowType() const
return(SFX_POPUPWINDOW_ONTIMEOUT);
}
-void TbxControls::StateChanged( USHORT nSID, SfxItemState eState,
+void TbxControls::StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState )
{
if( pState )
@@ -85,8 +85,8 @@ void TbxControls::StateChanged( USHORT nSID, SfxItemState eState,
SfxAllEnumItem* pItem = PTR_CAST(SfxAllEnumItem, pState);
if( pItem )
{
- USHORT nLastEnum = pItem->GetValue();
- USHORT nTemp = 0;
+ sal_uInt16 nLastEnum = pItem->GetValue();
+ sal_uInt16 nTemp = 0;
switch( nLastEnum )
{
case SVX_SNAP_PUSHBUTTON: nTemp = SID_INSERT_PUSHBUTTON; break;
@@ -132,7 +132,7 @@ void TbxControls::StateChanged( USHORT nSID, SfxItemState eState,
SfxToolBoxControl::StateChanged( nSID, eState,pState );
}
-void TbxControls::Select( USHORT nModifier )
+void TbxControls::Select( sal_uInt16 nModifier )
{
(void)nModifier;
SfxAllEnumItem aItem( SID_CHOOSE_CONTROLS, nLastSlot );