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
5e691dbf
Kaydet (Commit)
5e691dbf
authored
Şub 07, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
make this a comment a coverity queller
Change-Id: I0eccec058f506be69f6c95a1a6d97be64cb734bc
üst
cfb0c6d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ustring.cxx
sal/rtl/ustring.cxx
+4
-4
No files found.
sal/rtl/ustring.cxx
Dosyayı görüntüle @
5e691dbf
...
@@ -569,10 +569,10 @@ void SAL_CALL rtl_uString_newFromCodePoints(
...
@@ -569,10 +569,10 @@ void SAL_CALL rtl_uString_newFromCodePoints(
++
n
;
++
n
;
}
}
}
}
/*
Builds on the assumption that sal_Int32 uses 32 bit two's complement
/*
coverity[dead_error_condition] - Builds on the assumption that sal_Int32
representation with wrap around (the necessary number of UTF-16 cod
e
uses 32 bit two's complement representation with wrap around (th
e
units will be no larger than 2 * SAL_MAX_INT32, represented as
necessary number of UTF-16 code units will be no larger than 2 *
sal_Int32 -2): */
SAL_MAX_INT32, represented as
sal_Int32 -2): */
if
(
n
<
0
)
{
if
(
n
<
0
)
{
*
newString
=
NULL
;
*
newString
=
NULL
;
return
;
return
;
...
...
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