summaryrefslogtreecommitdiff
path: root/svx/source/stbctrls/modctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/stbctrls/modctrl.cxx')
-rw-r--r--svx/source/stbctrls/modctrl.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/stbctrls/modctrl.cxx b/svx/source/stbctrls/modctrl.cxx
index 986b84f7b8dc..87dce0e942df 100644
--- a/svx/source/stbctrls/modctrl.cxx
+++ b/svx/source/stbctrls/modctrl.cxx
@@ -47,18 +47,18 @@ SFX_IMPL_STATUSBAR_CONTROL(SvxModifyControl, SfxBoolItem);
// class SvxModifyControl ------------------------------------------------
-SvxModifyControl::SvxModifyControl( USHORT _nSlotId,
- USHORT _nId,
+SvxModifyControl::SvxModifyControl( sal_uInt16 _nSlotId,
+ sal_uInt16 _nId,
StatusBar& rStb ) :
SfxStatusBarControl( _nSlotId, _nId, rStb ),
- bState( TRUE )
+ bState( sal_True )
{
}
// -----------------------------------------------------------------------
-void SvxModifyControl::StateChanged( USHORT, SfxItemState eState,
+void SvxModifyControl::StateChanged( sal_uInt16, SfxItemState eState,
const SfxPoolItem* pState )
{
if ( SFX_ITEM_AVAILABLE != eState )
@@ -90,7 +90,7 @@ void SvxModifyControl::DrawItemText_Impl()
GetStatusBar().SetItemText( GetId(), sMode );
}
-ULONG SvxModifyControl::GetDefItemWidth(const StatusBar& rStb)
+sal_uIntPtr SvxModifyControl::GetDefItemWidth(const StatusBar& rStb)
{
return rStb.GetTextWidth(String::CreateFromAscii("XX"));
}