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
fcb78bb3
Kaydet (Commit)
fcb78bb3
authored
Haz 18, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1412874 silence Out-of-bounds read warning
Change-Id: If51571f698ca11383b1b143281ede04bac111e2a
üst
876c035d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
nativenumbersupplier.cxx
i18npool/source/nativenumber/nativenumbersupplier.cxx
+1
-0
No files found.
i18npool/source/nativenumber/nativenumbersupplier.cxx
Dosyayı görüntüle @
fcb78bb3
...
@@ -866,6 +866,7 @@ void makeHebrewNumber(sal_Int64 value, OUStringBuffer& output, bool isLast, bool
...
@@ -866,6 +866,7 @@ void makeHebrewNumber(sal_Int64 value, OUStringBuffer& output, bool isLast, bool
// By convention, the numbers 15 and 16 are represented as 9 + 6 and 9 + 7
// By convention, the numbers 15 and 16 are represented as 9 + 6 and 9 + 7
if
(
num
==
15
||
num
==
16
)
// substitution for 15 and 16
if
(
num
==
15
||
num
==
16
)
// substitution for 15 and 16
j
++
;
j
++
;
assert
(
j
<
sal_Int32
(
SAL_N_ELEMENTS
(
HebrewNumberCharArray
)));
num
=
sal
::
static_int_cast
<
sal_Int16
>
(
num
-
HebrewNumberCharArray
[
j
].
value
);
num
=
sal
::
static_int_cast
<
sal_Int16
>
(
num
-
HebrewNumberCharArray
[
j
].
value
);
output
.
append
(
HebrewNumberCharArray
[
j
].
code
);
output
.
append
(
HebrewNumberCharArray
[
j
].
code
);
}
}
...
...
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