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
5da3f0f7
Kaydet (Commit)
5da3f0f7
authored
Eki 05, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
clang-analyzer-deadcode.DeadStores
Change-Id: Icc27b904a4cc3dd94b247360d7399349989c7f20
üst
65c075f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
vclxaccessiblelist.cxx
accessibility/source/standard/vclxaccessiblelist.cxx
+13
-13
No files found.
accessibility/source/standard/vclxaccessiblelist.cxx
Dosyayı görüntüle @
5da3f0f7
...
@@ -183,22 +183,22 @@ void VCLXAccessibleList::notifyVisibleStates(bool _bSetNew )
...
@@ -183,22 +183,22 @@ void VCLXAccessibleList::notifyVisibleStates(bool _bSetNew )
}
}
}
}
void
VCLXAccessibleList
::
UpdateSelection_Acc
(
const
::
rtl
::
OUString
&
sTextOfSelectedItem
,
bool
b_IsDropDownList
)
void
VCLXAccessibleList
::
UpdateSelection_Acc
(
const
::
rtl
::
OUString
&
/*sTextOfSelectedItem*/
,
bool
b_IsDropDownList
)
{
{
if
(
m_aBoxType
==
COMBOBOX
)
if
(
m_aBoxType
==
COMBOBOX
)
{
{
VclPtr
<
ComboBox
>
pBox
=
GetAs
<
ComboBox
>
();
/* FIXME: is there something missing here? nIndex is unused. Looks like
if
(
pBox
)
* copy-paste from VCLXAccessibleList::UpdateSelection() */
{
// VclPtr< ComboBox > pBox = GetAs< ComboBox >();
// Find the index of the selected item inside the VCL control...
// if ( pBox )
sal_Int32
nIndex
=
pBox
->
GetEntryPos
(
sTextOfSelectedItem
);
// {
// ...and then find the associated accessibility object
.
// // Find the index of the selected item inside the VCL control..
.
if
(
nIndex
==
LISTBOX_ENTRY_NOTFOUND
)
// sal_Int32 nIndex = pBox->GetEntryPos(sTextOfSelectedItem);
nIndex
=
0
;
// // ...and then find the associated accessibility object.
/* FIXME: is there something missing here? nIndex is unused. Looks
// if ( nIndex == LISTBOX_ENTRY_NOTFOUND )
* like copy-paste from VCLXAccessibleList::UpdateSelection() */
// nIndex = 0;
UpdateSelection_Impl_Acc
(
b_IsDropDownList
);
UpdateSelection_Impl_Acc
(
b_IsDropDownList
);
}
//
}
}
}
}
}
...
...
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