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
74115c30
Kaydet (Commit)
74115c30
authored
Haz 30, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: unused code
üst
1a2912ee
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
80 deletions
+0
-80
rtl_String_Utils.cxx
sal/qa/OStringBuffer/rtl_String_Utils.cxx
+0
-38
rtl_String_Utils.hxx
sal/qa/OStringBuffer/rtl_String_Utils.hxx
+0
-2
rtl_String_Utils.cxx
sal/qa/rtl_strings/rtl_String_Utils.cxx
+0
-38
rtl_String_Utils.hxx
sal/qa/rtl_strings/rtl_String_Utils.hxx
+0
-2
No files found.
sal/qa/OStringBuffer/rtl_String_Utils.cxx
Dosyayı görüntüle @
74115c30
...
...
@@ -286,44 +286,6 @@ sal_uInt32 UStringLen( const sal_Unicode *pUStr )
//------------------------------------------------------------------------
sal_Bool
AStringIsValid
(
const
sal_Char
*
pAStr
)
{
if
(
pAStr
!=
NULL
)
{
sal_uInt32
nLen
=
AStringLen
(
pAStr
);
sal_uChar
uChar
=
0
;
while
(
*
pAStr
)
{
uChar
=
(
unsigned
char
)
*
pAStr
;
if
(
uChar
>
127
)
{
return
sal_False
;
}
// if
pAStr
++
;
// Since we are dealing with unsigned integers
// we want to make sure that the last number is
// indeed zero.
if
(
nLen
>
0
)
{
nLen
--
;
}
// if
else
{
break
;
}
// else
}
// while
}
// if
return
sal_True
;
}
// AStringIsValid
//------------------------------------------------------------------------
sal_Bool
AStringNIsValid
(
const
sal_Char
*
pAStr
,
const
sal_uInt32
nStrLen
)
...
...
sal/qa/OStringBuffer/rtl_String_Utils.hxx
Dosyayı görüntüle @
74115c30
...
...
@@ -76,8 +76,6 @@ sal_Bool AStringToDoubleCompare ( const sal_Char *pStr,
//------------------------------------------------------------------------
sal_Bool
AStringIsValid
(
const
sal_Char
*
pAStr
);
sal_Bool
AStringNIsValid
(
const
sal_Char
*
pAStr
,
const
sal_uInt32
nStrLen
);
...
...
sal/qa/rtl_strings/rtl_String_Utils.cxx
Dosyayı görüntüle @
74115c30
...
...
@@ -263,44 +263,6 @@ sal_uInt32 UStringLen( const sal_Unicode *pUStr )
//------------------------------------------------------------------------
sal_Bool
AStringIsValid
(
const
sal_Char
*
pAStr
)
{
if
(
pAStr
!=
NULL
)
{
sal_uInt32
nLen
=
AStringLen
(
pAStr
);
sal_uChar
uChar
=
0
;
while
(
(
nLen
>=
0
)
&&
(
*
pAStr
)
)
{
uChar
=
(
unsigned
char
)
*
pAStr
;
if
(
uChar
>
127
)
{
return
sal_False
;
}
// if
pAStr
++
;
// Since we are dealing with unsigned integers
// we want to make sure that the last number is
// indeed zero.
if
(
nLen
>
0
)
{
nLen
--
;
}
// if
else
{
break
;
}
// else
}
// while
}
// if
return
sal_True
;
}
// AStringIsValid
//------------------------------------------------------------------------
sal_Bool
AStringNIsValid
(
const
sal_Char
*
pAStr
,
const
sal_uInt32
nStrLen
)
...
...
sal/qa/rtl_strings/rtl_String_Utils.hxx
Dosyayı görüntüle @
74115c30
...
...
@@ -75,8 +75,6 @@ sal_Bool AStringToDoubleCompare ( const sal_Char *pStr,
//------------------------------------------------------------------------
sal_Bool
AStringIsValid
(
const
sal_Char
*
pAStr
);
sal_Bool
AStringNIsValid
(
const
sal_Char
*
pAStr
,
const
sal_uInt32
nStrLen
);
...
...
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