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
a1f2f863
Kaydet (Commit)
a1f2f863
authored
Mar 27, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: comparison is always true due to limited range of data type
Change-Id: I74d9025b37966d0a0fa1e2c0cd5cac4778f8384e
üst
3fcf0008
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dp_persmap.cxx
desktop/source/deployment/dp_persmap.cxx
+4
-4
No files found.
desktop/source/deployment/dp_persmap.cxx
Dosyayı görüntüle @
a1f2f863
...
@@ -79,8 +79,8 @@ static OString encodeString( const OString& rStr)
...
@@ -79,8 +79,8 @@ static OString encodeString( const OString& rStr)
// short circuit for the simple non-encoded case
// short circuit for the simple non-encoded case
while
(
--
i
>=
0
)
while
(
--
i
>=
0
)
{
{
const
sal_Char
c
=
*
(
pChar
++
);
const
unsigned
char
c
=
(
unsigned
char
)
*
(
pChar
++
);
if
(
(
0x00
<=
c
)
&&
(
c
<=
0x0F
)
)
if
(
c
<=
0x0F
)
break
;
break
;
if
(
c
==
'%'
)
if
(
c
==
'%'
)
break
;
break
;
...
@@ -93,8 +93,8 @@ static OString encodeString( const OString& rStr)
...
@@ -93,8 +93,8 @@ static OString encodeString( const OString& rStr)
aEncStr
.
append
(
pChar
-
(
nLen
-
i
),
nLen
-
i
);
aEncStr
.
append
(
pChar
-
(
nLen
-
i
),
nLen
-
i
);
while
(
--
i
>=
0
)
while
(
--
i
>=
0
)
{
{
sal_Char
c
=
*
(
pChar
++
);
unsigned
char
c
=
(
unsigned
char
)
*
(
pChar
++
);
if
(
(
0x00
<=
c
)
&&
(
c
<=
0x0F
)
)
if
(
c
<=
0x0F
)
{
{
aEncStr
.
append
(
'%'
);
aEncStr
.
append
(
'%'
);
c
+=
(
c
<=
0x09
)
?
'0'
:
'A'
-
10
;
c
+=
(
c
<=
0x09
)
?
'0'
:
'A'
-
10
;
...
...
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