summaryrefslogtreecommitdiff
path: root/svx/source/stbctrls/selctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/stbctrls/selctrl.cxx')
-rw-r--r--svx/source/stbctrls/selctrl.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/stbctrls/selctrl.cxx b/svx/source/stbctrls/selctrl.cxx
index e56ba9aeaef9..e216a4c204ba 100644
--- a/svx/source/stbctrls/selctrl.cxx
+++ b/svx/source/stbctrls/selctrl.cxx
@@ -50,8 +50,8 @@ SFX_IMPL_STATUSBAR_CONTROL(SvxSelectionModeControl, SfxUInt16Item);
// class SvxSelectionModeControl -----------------------------------------
-SvxSelectionModeControl::SvxSelectionModeControl( USHORT _nSlotId,
- USHORT _nId,
+SvxSelectionModeControl::SvxSelectionModeControl( sal_uInt16 _nSlotId,
+ sal_uInt16 _nId,
StatusBar& rStb ) :
SfxStatusBarControl( _nSlotId, _nId, rStb ),
nState( 0 )
@@ -60,7 +60,7 @@ SvxSelectionModeControl::SvxSelectionModeControl( USHORT _nSlotId,
// -----------------------------------------------------------------------
-void SvxSelectionModeControl::StateChanged( USHORT, SfxItemState eState,
+void SvxSelectionModeControl::StateChanged( sal_uInt16, SfxItemState eState,
const SfxPoolItem* pState )
{
if ( SFX_ITEM_AVAILABLE != eState )
@@ -108,7 +108,7 @@ void SvxSelectionModeControl::Paint( const UserDrawEvent& )
void SvxSelectionModeControl::DrawItemText_Impl()
{
String sTxt;
- USHORT _nId = 0;
+ sal_uInt16 _nId = 0;
switch ( nState )
{
@@ -132,7 +132,7 @@ void SvxSelectionModeControl::DrawItemText_Impl()
GetStatusBar().SetItemText( GetId(), sTxt );
}
-ULONG SvxSelectionModeControl::GetDefItemWidth(const StatusBar& rStb)
+sal_uIntPtr SvxSelectionModeControl::GetDefItemWidth(const StatusBar& rStb)
{
long nWidth1 = rStb.GetTextWidth(SVX_RESSTR(RID_SVXSTR_SELMODE_STD));
long nWidth2 = rStb.GetTextWidth(SVX_RESSTR(RID_SVXSTR_SELMODE_ER));