diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-26 20:45:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-27 09:45:57 +0000 |
commit | b36d555440b86d8293b188e4d99ec8682a2139a5 (patch) | |
tree | 85fba385e1c021c3b2d86bc8922c5980b4abe9ff /svtools | |
parent | callcatcher: update list (diff) | |
download | core-b36d555440b86d8293b188e4d99ec8682a2139a5.tar.gz core-b36d555440b86d8293b188e4d99ec8682a2139a5.zip |
drop UniString::CreateFromInt64
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/calendar.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx index f7919dc708af..2a06db143eaa 100644 --- a/svtools/source/control/calendar.cxx +++ b/svtools/source/control/calendar.cxx @@ -917,7 +917,7 @@ void Calendar::ImplDraw( sal_Bool bPaint ) String aMonthText( maCalendarWrapper.getDisplayName( i18n::CalendarDisplayIndex::MONTH, nMonth-1, 1)); aMonthText += ' '; - aMonthText += String::CreateFromInt64( nYear ); + aMonthText += rtl::OUString::valueOf(static_cast<sal_Int64>(nYear)); long nMonthTextWidth = GetTextWidth( aMonthText ); long nMonthOffX1 = 0; long nMonthOffX2 = 0; @@ -935,7 +935,7 @@ void Calendar::ImplDraw( sal_Bool bPaint ) aMonthText = maCalendarWrapper.getDisplayName( i18n::CalendarDisplayIndex::MONTH, nMonth-1, 0); aMonthText += ' '; - aMonthText += String::CreateFromInt64( nYear ); + aMonthText += rtl::OUString::valueOf(static_cast<sal_Int64>(nYear)); nMonthTextWidth = GetTextWidth( aMonthText ); } long nTempOff = (mnMonthWidth-nMonthTextWidth+1)/2; |