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
0b8a21a3
Kaydet (Commit)
0b8a21a3
authored
Kas 17, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Don't assume sal_Unicode is unsigned short
Change-Id: I727951614587654c11af5f6635a45c52ebec1b5a
üst
1acbdc6b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
indexentrysupplier_asian.cxx
i18npool/source/indexentry/indexentrysupplier_asian.cxx
+6
-2
nativenumbersupplier.cxx
i18npool/source/nativenumber/nativenumbersupplier.cxx
+2
-1
textToPronounce_zh.cxx
i18npool/source/transliteration/textToPronounce_zh.cxx
+2
-1
No files found.
i18npool/source/indexentry/indexentrysupplier_asian.cxx
Dosyayı görüntüle @
0b8a21a3
...
@@ -121,7 +121,10 @@ IndexEntrySupplier_asian::getIndexCharacter( const OUString& rIndexEntry,
...
@@ -121,7 +121,10 @@ IndexEntrySupplier_asian::getIndexCharacter( const OUString& rIndexEntry,
sal_uInt16
address
=
idx
[
0
][
ch
>>
8
];
sal_uInt16
address
=
idx
[
0
][
ch
>>
8
];
if
(
address
!=
0xFFFF
)
{
if
(
address
!=
0xFFFF
)
{
address
=
idx
[
1
][
address
+
(
ch
&
0xFF
)];
address
=
idx
[
1
][
address
+
(
ch
&
0xFF
)];
return
idx
[
2
]
?
OUString
(
&
idx
[
2
][
address
])
:
OUString
(
address
);
return
idx
[
2
]
?
OUString
(
reinterpret_cast
<
sal_Unicode
*>
(
&
idx
[
2
][
address
]))
:
OUString
(
sal_Unicode
(
address
));
}
}
}
}
}
}
...
@@ -190,7 +193,8 @@ IndexEntrySupplier_asian::getPhoneticCandidate( const OUString& rIndexEntry,
...
@@ -190,7 +193,8 @@ IndexEntrySupplier_asian::getPhoneticCandidate( const OUString& rIndexEntry,
if
(
i
>
0
&&
rLocale
.
Language
==
"zh"
)
if
(
i
>
0
&&
rLocale
.
Language
==
"zh"
)
candidate
.
append
(
" "
);
candidate
.
append
(
" "
);
if
(
idx
[
2
])
if
(
idx
[
2
])
candidate
.
append
(
&
idx
[
2
][
address
]);
candidate
.
append
(
reinterpret_cast
<
sal_Unicode
*>
(
&
idx
[
2
][
address
]));
else
else
candidate
.
append
(
address
);
candidate
.
append
(
address
);
}
else
}
else
...
...
i18npool/source/nativenumber/nativenumbersupplier.cxx
Dosyayı görüntüle @
0b8a21a3
...
@@ -318,7 +318,8 @@ static OUString SAL_CALL NativeToAscii(const OUString& inStr,
...
@@ -318,7 +318,8 @@ static OUString SAL_CALL NativeToAscii(const OUString& inStr,
multiplierChar
=
OUString
(
MultiplierChar_7_CJK
[
0
],
ExponentCount_7_CJK
*
Multiplier_Count
);
multiplierChar
=
OUString
(
MultiplierChar_7_CJK
[
0
],
ExponentCount_7_CJK
*
Multiplier_Count
);
decimalChar
=
OUString
(
DecimalChar
,
NumberChar_Count
);
decimalChar
=
OUString
(
DecimalChar
,
NumberChar_Count
);
minusChar
=
OUString
(
MinusChar
,
NumberChar_Count
);
minusChar
=
OUString
(
MinusChar
,
NumberChar_Count
);
separatorChar
=
OUString
(
SeparatorChar
,
NumberChar_Count
);
separatorChar
=
OUString
(
reinterpret_cast
<
sal_Unicode
*>
(
SeparatorChar
),
NumberChar_Count
);
for
(
i
=
0
;
i
<
nCount
;
i
++
)
{
for
(
i
=
0
;
i
<
nCount
;
i
++
)
{
if
((
index
=
multiplierChar
.
indexOf
(
str
[
i
]))
>=
0
)
{
if
((
index
=
multiplierChar
.
indexOf
(
str
[
i
]))
>=
0
)
{
...
...
i18npool/source/transliteration/textToPronounce_zh.cxx
Dosyayı görüntüle @
0b8a21a3
...
@@ -38,7 +38,8 @@ TextToPronounce_zh::getPronounce(const sal_Unicode ch)
...
@@ -38,7 +38,8 @@ TextToPronounce_zh::getPronounce(const sal_Unicode ch)
if
(
idx
)
{
if
(
idx
)
{
sal_uInt16
address
=
idx
[
0
][
ch
>>
8
];
sal_uInt16
address
=
idx
[
0
][
ch
>>
8
];
if
(
address
!=
0xFFFF
)
if
(
address
!=
0xFFFF
)
return
&
idx
[
2
][
idx
[
1
][
address
+
(
ch
&
0xFF
)]];
return
reinterpret_cast
<
sal_Unicode
*>
(
&
idx
[
2
][
idx
[
1
][
address
+
(
ch
&
0xFF
)]]);
}
}
return
emptyString
;
return
emptyString
;
}
}
...
...
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