summaryrefslogtreecommitdiff
path: root/sd/source/ui/app/sdpopup.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/app/sdpopup.cxx')
-rwxr-xr-x[-rw-r--r--]sd/source/ui/app/sdpopup.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/sd/source/ui/app/sdpopup.cxx b/sd/source/ui/app/sdpopup.cxx
index 4b549de49301..dcdeeeeb484d 100644..100755
--- a/sd/source/ui/app/sdpopup.cxx
+++ b/sd/source/ui/app/sdpopup.cxx
@@ -77,8 +77,8 @@ SdFieldPopup::~SdFieldPopup()
void SdFieldPopup::Fill( LanguageType eLanguage )
{
- USHORT nID = 1;
- USHORT nStyle = MIB_RADIOCHECK | MIB_AUTOCHECK;
+ sal_uInt16 nID = 1;
+ sal_uInt16 nStyle = MIB_RADIOCHECK | MIB_AUTOCHECK;
InsertItem( nID++, String( SdResId( STR_FIX ) ), nStyle );
InsertItem( nID++, String( SdResId( STR_VAR ) ), nStyle );
InsertSeparator();
@@ -113,7 +113,7 @@ void SdFieldPopup::Fill( LanguageType eLanguage )
aDateField.SetFormat( SVXDATEFORMAT_F ); // Dienstag, 13.Februar 1996
InsertItem( nID++, aDateField.GetFormatted( *pNumberFormatter, eLanguage ), nStyle );
- CheckItem( (USHORT) ( pDateField->GetFormat() ) + 1 ); // - 2 + 3 !
+ CheckItem( (sal_uInt16) ( pDateField->GetFormat() ) + 1 ); // - 2 + 3 !
}
else if( pField->ISA( SvxExtTimeField ) )
{
@@ -147,7 +147,7 @@ void SdFieldPopup::Fill( LanguageType eLanguage )
//SVXTIMEFORMAT_AM_HMS, // 01:49:38 PM
//SVXTIMEFORMAT_AM_HMSH // 01:49:38.78 PM
- CheckItem( (USHORT) ( pTimeField->GetFormat() ) + 1 ); // - 2 + 3 !
+ CheckItem( (sal_uInt16) ( pTimeField->GetFormat() ) + 1 ); // - 2 + 3 !
}
else if( pField->ISA( SvxExtFileField ) )
{
@@ -164,7 +164,7 @@ void SdFieldPopup::Fill( LanguageType eLanguage )
InsertItem( nID++, String( SdResId( STR_FILEFORMAT_PATH ) ), nStyle );
InsertItem( nID++, String( SdResId( STR_FILEFORMAT_NAME ) ), nStyle );
- CheckItem( (USHORT) ( pFileField->GetFormat() ) + 3 );
+ CheckItem( (sal_uInt16) ( pFileField->GetFormat() ) + 3 );
}
else if( pField->ISA( SvxAuthorField ) )
{
@@ -176,12 +176,12 @@ void SdFieldPopup::Fill( LanguageType eLanguage )
else
CheckItem( 2 );
- for( USHORT i = 0; i < 4; i++ )
+ for( sal_uInt16 i = 0; i < 4; i++ )
{
aAuthorField.SetFormat( (SvxAuthorFormat) i );
InsertItem( nID++, aAuthorField.GetFormatted(), nStyle );
}
- CheckItem( (USHORT) ( pAuthorField->GetFormat() ) + 3 );
+ CheckItem( (sal_uInt16) ( pAuthorField->GetFormat() ) + 3 );
}
}
@@ -195,14 +195,14 @@ void SdFieldPopup::Fill( LanguageType eLanguage )
SvxFieldData* SdFieldPopup::GetField()
{
SvxFieldData* pNewField = NULL;
- USHORT nCount = GetItemCount();
+ sal_uInt16 nCount = GetItemCount();
if( pField->ISA( SvxDateField ) )
{
const SvxDateField* pDateField = (const SvxDateField*) pField;
SvxDateType eType;
SvxDateFormat eFormat;
- USHORT i;
+ sal_uInt16 i;
if( IsItemChecked( 1 ) )
eType = SVXDATETYPE_FIX;
@@ -235,7 +235,7 @@ SvxFieldData* SdFieldPopup::GetField()
const SvxExtTimeField* pTimeField = (const SvxExtTimeField*) pField;
SvxTimeType eType;
SvxTimeFormat eFormat;
- USHORT i;
+ sal_uInt16 i;
if( IsItemChecked( 1 ) )
eType = SVXTIMETYPE_FIX;
@@ -269,7 +269,7 @@ SvxFieldData* SdFieldPopup::GetField()
const SvxExtFileField* pFileField = (const SvxExtFileField*) pField;
SvxFileType eType;
SvxFileFormat eFormat;
- USHORT i;
+ sal_uInt16 i;
if( IsItemChecked( 1 ) )
eType = SVXFILETYPE_FIX;
@@ -309,7 +309,7 @@ SvxFieldData* SdFieldPopup::GetField()
const SvxAuthorField* pAuthorField = (const SvxAuthorField*) pField;
SvxAuthorType eType;
SvxAuthorFormat eFormat;
- USHORT i;
+ sal_uInt16 i;
if( IsItemChecked( 1 ) )
eType = SVXAUTHORTYPE_FIX;