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
1950127b
Kaydet (Commit)
1950127b
authored
Agu 27, 2015
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#92213 - don't crash fetching pixelctl a11y peer for un-parented window.
Change-Id: Ie36f46e2eae72e8838aa5e45f96bd02fef45f7d5
üst
0a964829
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
svxpixelctlaccessiblecontext.cxx
svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
+7
-5
No files found.
svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
Dosyayı görüntüle @
1950127b
...
@@ -88,15 +88,15 @@ uno::Reference< XAccessible > SvxPixelCtlAccessible::getAccessibleChild( sal_Int
...
@@ -88,15 +88,15 @@ uno::Reference< XAccessible > SvxPixelCtlAccessible::getAccessibleChild( sal_Int
return
CreateChild
(
i
,
mrPixelCtl
.
IndexToPoint
(
i
));
return
CreateChild
(
i
,
mrPixelCtl
.
IndexToPoint
(
i
));
}
}
uno
::
Reference
<
XAccessible
>
SvxPixelCtlAccessible
::
getAccessibleParent
(
)
uno
::
Reference
<
XAccessible
>
SvxPixelCtlAccessible
::
getAccessibleParent
(
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
{
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
vcl
::
Window
*
pTabPage
=
getNonLayoutParent
(
&
mrPixelCtl
);
vcl
::
Window
*
pTabPage
=
getNonLayoutParent
(
&
mrPixelCtl
);
assert
(
pTabPage
&&
WINDOW_TABPAGE
==
pTabPage
->
GetType
());
if
(
!
pTabPage
||
WINDOW_TABPAGE
!=
pTabPage
->
GetType
())
return
pTabPage
->
GetAccessible
();
return
uno
::
Reference
<
XAccessible
>
();
else
return
pTabPage
->
GetAccessible
();
}
}
sal_Int32
SvxPixelCtlAccessible
::
getAccessibleIndexInParent
(
)
sal_Int32
SvxPixelCtlAccessible
::
getAccessibleIndexInParent
(
)
...
@@ -105,13 +105,15 @@ sal_Int32 SvxPixelCtlAccessible::getAccessibleIndexInParent( )
...
@@ -105,13 +105,15 @@ sal_Int32 SvxPixelCtlAccessible::getAccessibleIndexInParent( )
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
sal_uInt16
nIdx
=
0
;
sal_uInt16
nIdx
=
0
;
vcl
::
Window
*
pTabPage
=
getNonLayoutParent
(
&
mrPixelCtl
);
vcl
::
Window
*
pTabPage
=
getNonLayoutParent
(
&
mrPixelCtl
);
assert
(
pTabPage
&&
WINDOW_TABPAGE
==
pTabPage
->
GetType
());
if
(
!
pTabPage
||
WINDOW_TABPAGE
!=
pTabPage
->
GetType
())
return
-
1
;
sal_uInt16
nChildren
=
pTabPage
->
GetChildCount
();
sal_uInt16
nChildren
=
pTabPage
->
GetChildCount
();
for
(
nIdx
=
0
;
nIdx
<
nChildren
;
nIdx
++
)
for
(
nIdx
=
0
;
nIdx
<
nChildren
;
nIdx
++
)
if
(
pTabPage
->
GetChild
(
nIdx
)
==
&
mrPixelCtl
)
if
(
pTabPage
->
GetChild
(
nIdx
)
==
&
mrPixelCtl
)
break
;
break
;
return
nIdx
;
return
nIdx
;
}
}
sal_Int16
SvxPixelCtlAccessible
::
getAccessibleRole
(
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
sal_Int16
SvxPixelCtlAccessible
::
getAccessibleRole
(
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
{
return
AccessibleRole
::
LIST
;
return
AccessibleRole
::
LIST
;
...
...
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