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
31fca96e
Kaydet (Commit)
31fca96e
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: I3d4ae7495f43cae35e8a149c6523bc0337621724
üst
1b49ad95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
SelectionBrowseBox.cxx
dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+1
-1
No files found.
dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
Dosyayı görüntüle @
31fca96e
...
@@ -945,7 +945,7 @@ bool OSelectionBrowseBox::SaveModified()
...
@@ -945,7 +945,7 @@ bool OSelectionBrowseBox::SaveModified()
sal_Int32
nPos
=
m_pFieldCell
->
GetEntryPos
(
aFieldName
);
sal_Int32
nPos
=
m_pFieldCell
->
GetEntryPos
(
aFieldName
);
OUString
aAliasName
=
pEntry
->
GetAlias
();
OUString
aAliasName
=
pEntry
->
GetAlias
();
if
(
nPos
!=
COMBOBOX_ENTRY_NOTFOUND
&&
aAliasName
.
isEmpty
()
&&
comphelper
::
string
::
getTokenCount
(
aFieldName
,
'.'
)
>
1
)
if
(
nPos
!=
COMBOBOX_ENTRY_NOTFOUND
&&
aAliasName
.
isEmpty
()
&&
aFieldName
.
indexOf
(
'.'
)
>=
0
)
{
// special case, we have a table field so we must cut the table name
{
// special case, we have a table field so we must cut the table name
OUString
sTableAlias
=
aFieldName
.
getToken
(
0
,
'.'
);
OUString
sTableAlias
=
aFieldName
.
getToken
(
0
,
'.'
);
pEntry
->
SetAlias
(
sTableAlias
);
pEntry
->
SetAlias
(
sTableAlias
);
...
...
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