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
0da6e880
Kaydet (Commit)
0da6e880
authored
Eyl 09, 2018
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid getTokenCount()
Change-Id: Ib84104ea0c523729c3a7fe6019ed2e788ff7b189
üst
d1bda6b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
SelectionBrowseBox.cxx
dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+7
-8
No files found.
dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
Dosyayı görüntüle @
0da6e880
...
...
@@ -2199,18 +2199,17 @@ bool OSelectionBrowseBox::GetFunctionName(sal_uInt32 _nFunctionTokenId, OUString
break
;
default
:
{
sal_Int32
nCount
=
comphelper
::
string
::
getTokenCount
(
m_aFunctionStrings
,
';'
);
sal_Int32
i
;
for
(
i
=
0
;
i
<
nCount
-
1
;
i
++
)
// grouping is not counted
const
sal_Int32
nStopIdx
=
m_aFunctionStrings
.
lastIndexOf
(
';'
);
// grouping is not counted
for
(
sal_Int32
nIdx
{
0
};
nIdx
<
nStopIdx
;)
{
if
(
rFkt
.
equalsIgnoreAsciiCase
(
m_aFunctionStrings
.
getToken
(
i
,
';'
)))
const
OUString
sFunc
{
m_aFunctionStrings
.
getToken
(
0
,
';'
,
nIdx
)};
if
(
rFkt
.
equalsIgnoreAsciiCase
(
sFunc
))
{
rFkt
=
m_aFunctionStrings
.
getToken
(
i
,
';'
)
;
break
;
rFkt
=
sFunc
;
return
true
;
}
}
if
(
i
==
nCount
-
1
)
bErg
=
false
;
bErg
=
false
;
}
}
...
...
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