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
1d1a2829
Kaydet (Commit)
1d1a2829
authored
May 13, 2014
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
+sal_Int32 ComboBox::GetEntryPos( const void* pData ) const
Change-Id: I9199da366eb70e818e1d85823cd7cf530f70167d
üst
f9a1e907
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
combobox.hxx
include/vcl/combobox.hxx
+1
-0
combobox.cxx
vcl/source/control/combobox.cxx
+8
-0
No files found.
include/vcl/combobox.hxx
Dosyayı görüntüle @
1d1a2829
...
...
@@ -138,6 +138,7 @@ public:
void
Clear
();
sal_Int32
GetEntryPos
(
const
OUString
&
rStr
)
const
;
sal_Int32
GetEntryPos
(
const
void
*
pData
)
const
;
Image
GetEntryImage
(
sal_Int32
nPos
)
const
;
OUString
GetEntry
(
sal_Int32
nPos
)
const
;
sal_Int32
GetEntryCount
()
const
;
...
...
vcl/source/control/combobox.cxx
Dosyayı görüntüle @
1d1a2829
...
...
@@ -931,6 +931,14 @@ sal_Int32 ComboBox::GetEntryPos( const OUString& rStr ) const
return
nPos
;
}
sal_Int32
ComboBox
::
GetEntryPos
(
const
void
*
pData
)
const
{
sal_Int32
nPos
=
mpImplLB
->
GetEntryList
()
->
FindEntry
(
pData
);
if
(
nPos
!=
LISTBOX_ENTRY_NOTFOUND
)
nPos
=
nPos
-
mpImplLB
->
GetEntryList
()
->
GetMRUCount
();
return
nPos
;
}
OUString
ComboBox
::
GetEntry
(
sal_Int32
nPos
)
const
{
const
sal_Int32
nMRUCount
=
mpImplLB
->
GetEntryList
()
->
GetMRUCount
();
...
...
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