diff options
Diffstat (limited to 'sd/source/ui/dlg/gluectrl.cxx')
-rwxr-xr-x[-rw-r--r--] | sd/source/ui/dlg/gluectrl.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sd/source/ui/dlg/gluectrl.cxx b/sd/source/ui/dlg/gluectrl.cxx index 5a23262c57c0..0f326975cbf6 100644..100755 --- a/sd/source/ui/dlg/gluectrl.cxx +++ b/sd/source/ui/dlg/gluectrl.cxx @@ -50,7 +50,7 @@ using namespace ::com::sun::star::frame; // z.Z. werden von Joe nur die u.a. Moeglichkeiten unterstuetzt #define ESCDIR_COUNT 5 -static UINT16 aEscDirArray[] = +static sal_uInt16 aEscDirArray[] = { SDRESC_SMART, SDRESC_LEFT, @@ -107,7 +107,7 @@ GlueEscDirLB::~GlueEscDirLB() void GlueEscDirLB::Select() { - UINT16 nPos = GetSelectEntryPos(); + sal_uInt16 nPos = GetSelectEntryPos(); SfxUInt16Item aItem( SID_GLUE_ESCDIR, aEscDirArray[ nPos ] ); if ( m_xFrame.is() ) @@ -158,7 +158,7 @@ void GlueEscDirLB::Fill() \************************************************************************/ SdTbxCtlGlueEscDir::SdTbxCtlGlueEscDir( - USHORT nSlotId, USHORT nId, ToolBox& rTbx ) : + sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ) : SfxToolBoxControl( nSlotId, nId, rTbx ) { } @@ -169,7 +169,7 @@ SdTbxCtlGlueEscDir::SdTbxCtlGlueEscDir( |* \************************************************************************/ -void SdTbxCtlGlueEscDir::StateChanged( USHORT nSId, +void SdTbxCtlGlueEscDir::StateChanged( sal_uInt16 nSId, SfxItemState eState, const SfxPoolItem* pState ) { if( eState == SFX_ITEM_AVAILABLE ) @@ -187,7 +187,7 @@ void SdTbxCtlGlueEscDir::StateChanged( USHORT nSId, } else { - UINT16 nEscDir = ( (const SfxUInt16Item*) pState )->GetValue(); + sal_uInt16 nEscDir = ( (const SfxUInt16Item*) pState )->GetValue(); pGlueEscDirLB->SelectEntryPos( GetEscDirPos( nEscDir ) ); } } @@ -225,9 +225,9 @@ Window* SdTbxCtlGlueEscDir::CreateItemWindow( Window *pParent ) |* \************************************************************************/ -UINT16 SdTbxCtlGlueEscDir::GetEscDirPos( UINT16 nEscDir ) +sal_uInt16 SdTbxCtlGlueEscDir::GetEscDirPos( sal_uInt16 nEscDir ) { - for( UINT16 i = 0; i < ESCDIR_COUNT; i++ ) + for( sal_uInt16 i = 0; i < ESCDIR_COUNT; i++ ) { if( aEscDirArray[ i ] == nEscDir ) return( i ); |