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
f4c300ea
Kaydet (Commit)
f4c300ea
authored
Agu 31, 2015
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Reduce scope by early bail out
Change-Id: Ia4e1763cc4d70197342be4e5caf6d5c14cd34c80
üst
b2e6bb75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
WTypeSelect.cxx
dbaccess/source/ui/misc/WTypeSelect.cxx
+3
-4
No files found.
dbaccess/source/ui/misc/WTypeSelect.cxx
Dosyayı görüntüle @
f4c300ea
...
...
@@ -372,15 +372,14 @@ void OWizTypeSelectList::dispose()
bool
OWizTypeSelectList
::
IsPrimaryKeyAllowed
()
const
{
const
sal_Int32
nCount
=
GetSelectEntryCount
();
sal_Int32
j
;
for
(
j
=
0
;
m_bPKey
&&
j
<
nCount
;
++
j
)
for
(
sal_Int32
j
=
0
;
m_bPKey
&&
j
<
nCount
;
++
j
)
{
OFieldDescription
*
pField
=
static_cast
<
OFieldDescription
*>
(
GetEntryData
(
GetSelectEntryPos
(
j
)));
if
(
!
pField
||
pField
->
getTypeInfo
()
->
nSearchType
==
ColumnSearch
::
NONE
)
break
;
return
true
;
}
return
j
==
nCount
;
return
false
;
}
void
OWizTypeSelectList
::
setPrimaryKey
(
OFieldDescription
*
_pFieldDescr
,
sal_uInt16
_nPos
,
bool
_bSet
)
...
...
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