diff options
Diffstat (limited to 'sd/source/ui/dlg/headerfooterdlg.cxx')
-rw-r--r-- | sd/source/ui/dlg/headerfooterdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/headerfooterdlg.cxx b/sd/source/ui/dlg/headerfooterdlg.cxx index 9a9c382e4412..8b22fd2d6bd4 100644 --- a/sd/source/ui/dlg/headerfooterdlg.cxx +++ b/sd/source/ui/dlg/headerfooterdlg.cxx @@ -499,7 +499,7 @@ void HeaderFooterTabPage::FillFormatList( int eFormat ) OUString aStr( SvxDateTimeField::GetFormatted( aDate, aTime, nDateTimeFormats[nFormat], *(SD_MOD()->GetNumberFormatter()), eLanguage ) ); - sal_uInt16 nEntry = mpCBDateTimeFormat->InsertEntry( aStr ); + const sal_Int32 nEntry = mpCBDateTimeFormat->InsertEntry( aStr ); mpCBDateTimeFormat->SetEntryData( nEntry, reinterpret_cast<void*>((sal_IntPtr)nDateTimeFormats[nFormat] )); if( nDateTimeFormats[nFormat] == eFormat ) { |