Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
f62a00f3
Kaydet (Commit)
f62a00f3
authored
Nis 24, 2013
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
can we stick a with our naming conventions, just a little bit?
Change-Id: I1457c64162c2aeb083e98a28737991ae6d0eee2e
üst
be35d10c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ordinalsuffix.cxx
i18npool/source/ordinalsuffix/ordinalsuffix.cxx
+4
-4
No files found.
i18npool/source/ordinalsuffix/ordinalsuffix.cxx
Dosyayı görüntüle @
f62a00f3
...
@@ -66,19 +66,19 @@ namespace
...
@@ -66,19 +66,19 @@ namespace
* than english ones, ICU 4.2+ has to be used.
* than english ones, ICU 4.2+ has to be used.
*/
*/
uno
::
Sequence
<
OUString
>
SAL_CALL
OrdinalSuffix
::
getOrdinalSuffix
(
sal_Int32
nNumber
,
uno
::
Sequence
<
OUString
>
SAL_CALL
OrdinalSuffix
::
getOrdinalSuffix
(
sal_Int32
nNumber
,
const
lang
::
Locale
&
a
Locale
)
throw
(
RuntimeException
)
const
lang
::
Locale
&
r
Locale
)
throw
(
RuntimeException
)
{
{
uno
::
Sequence
<
OUString
>
retValue
;
uno
::
Sequence
<
OUString
>
retValue
;
// Get the value from ICU
// Get the value from ICU
UErrorCode
nCode
=
U_ZERO_ERROR
;
UErrorCode
nCode
=
U_ZERO_ERROR
;
const
icu
::
Locale
rIcuLocale
(
LanguageTagIcu
::
getIcuLocale
(
LanguageTag
(
a
Locale
)));
const
icu
::
Locale
aIcuLocale
(
LanguageTagIcu
::
getIcuLocale
(
LanguageTag
(
r
Locale
)));
icu
::
RuleBasedNumberFormat
formatter
(
icu
::
URBNF_ORDINAL
,
r
IcuLocale
,
nCode
);
icu
::
RuleBasedNumberFormat
formatter
(
icu
::
URBNF_ORDINAL
,
a
IcuLocale
,
nCode
);
if
(
!
U_SUCCESS
(
nCode
))
if
(
!
U_SUCCESS
(
nCode
))
return
retValue
;
return
retValue
;
boost
::
scoped_ptr
<
NumberFormat
>
xNumberFormat
(
icu
::
NumberFormat
::
createInstance
(
r
IcuLocale
,
nCode
));
boost
::
scoped_ptr
<
NumberFormat
>
xNumberFormat
(
icu
::
NumberFormat
::
createInstance
(
a
IcuLocale
,
nCode
));
if
(
!
U_SUCCESS
(
nCode
))
if
(
!
U_SUCCESS
(
nCode
))
return
retValue
;
return
retValue
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment