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
d4b20d5c
Kaydet (Commit)
d4b20d5c
authored
Eki 21, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert lcl_GetToken from xub_StrLen to sal_Int32
Change-Id: I72e98f1059280ed05b6cf77a6d69e522b4b8c075
üst
4af59f9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
dlistimp.cxx
linguistic/source/dlistimp.cxx
+5
-6
No files found.
linguistic/source/dlistimp.cxx
Dosyayı görüntüle @
d4b20d5c
...
...
@@ -22,7 +22,6 @@
#include <i18nlangtag/mslangid.hxx>
#include <osl/file.hxx>
#include <tools/stream.hxx>
#include <tools/string.hxx>
#include <tools/urlobj.hxx>
#include <unotools/pathoptions.hxx>
#include <unotools/useroptions.hxx>
...
...
@@ -781,10 +780,10 @@ void * SAL_CALL DicList_getFactory( const sal_Char * pImplName,
}
xub_StrLen
lcl_GetToken
(
OUString
&
rToken
,
static
sal_Int32
lcl_GetToken
(
OUString
&
rToken
,
const
OUString
&
rText
,
xub_StrLen
nPos
,
const
OUString
&
rDelim
)
{
xub_StrLen
nRes
=
STRING_LEN
;
sal_Int32
nRes
=
-
1
;
if
(
rText
.
isEmpty
()
||
nPos
>=
rText
.
getLength
())
rToken
=
""
;
...
...
@@ -796,7 +795,7 @@ xub_StrLen lcl_GetToken( OUString &rToken,
}
else
{
xub_StrLen
i
;
sal_Int32
i
;
for
(
i
=
nPos
;
i
<
rText
.
getLength
();
++
i
)
{
if
(
-
1
!=
rDelim
.
indexOf
(
rText
[
i
]
))
...
...
@@ -828,8 +827,8 @@ static void AddInternal(
"ensure no '.'"
);
OUString
aToken
;
xub_StrLen
nPos
=
0
;
while
(
STRING_LEN
!=
sal_Int32
nPos
=
0
;
while
(
-
1
!=
(
nPos
=
lcl_GetToken
(
aToken
,
rNew
,
nPos
,
aDelim
)))
{
if
(
!
aToken
.
isEmpty
()
&&
!
IsNumeric
(
aToken
)
)
...
...
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