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
7cfd340e
Kaydet (Commit)
7cfd340e
authored
Tem 16, 2013
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix crash & reduce nesting.
Change-Id: Ifbfe401cd69678c278394d190a37cc41a28d5c56
üst
3183f794
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
14 deletions
+17
-14
vclxaccessibletoolbox.cxx
accessibility/source/standard/vclxaccessibletoolbox.cxx
+17
-14
No files found.
accessibility/source/standard/vclxaccessibletoolbox.cxx
Dosyayı görüntüle @
7cfd340e
...
...
@@ -484,21 +484,24 @@ void VCLXAccessibleToolBox::HandleSubToolBarEvent( const VclWindowEvent& rVclWin
void
VCLXAccessibleToolBox
::
ReleaseSubToolBox
(
ToolBox
*
_pSubToolBox
)
{
ToolBox
*
pToolBox
=
static_cast
<
ToolBox
*
>
(
GetWindow
()
);
if
(
pToolBox
)
if
(
!
pToolBox
)
return
;
sal_Int32
nIndex
=
pToolBox
->
GetItemPos
(
pToolBox
->
GetCurItemId
()
);
if
(
nIndex
==
SAL_MAX_UINT16
)
return
;
// not found
Reference
<
XAccessible
>
xItem
=
getAccessibleChild
(
nIndex
);
if
(
!
xItem
.
is
()
)
return
;
Reference
<
XAccessible
>
xChild
=
_pSubToolBox
->
GetAccessible
();
VCLXAccessibleToolBoxItem
*
pItem
=
static_cast
<
VCLXAccessibleToolBoxItem
*
>
(
xItem
.
get
()
);
if
(
pItem
->
GetChild
()
==
xChild
)
{
sal_Int32
nIndex
=
pToolBox
->
GetItemPos
(
pToolBox
->
GetCurItemId
()
);
Reference
<
XAccessible
>
xItem
=
getAccessibleChild
(
nIndex
);
if
(
xItem
.
is
()
)
{
Reference
<
XAccessible
>
xChild
=
_pSubToolBox
->
GetAccessible
();
VCLXAccessibleToolBoxItem
*
pItem
=
static_cast
<
VCLXAccessibleToolBoxItem
*
>
(
xItem
.
get
()
);
if
(
pItem
->
GetChild
()
==
xChild
)
{
pItem
->
SetChild
(
Reference
<
XAccessible
>
()
);
pItem
->
NotifyChildEvent
(
xChild
,
false
);
}
}
pItem
->
SetChild
(
Reference
<
XAccessible
>
()
);
pItem
->
NotifyChildEvent
(
xChild
,
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