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
f141ef6b
Kaydet (Commit)
f141ef6b
authored
Kas 03, 2014
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#982160 unchecked return value
Change-Id: I94117e9f53f1929906b88b2a31d0fcfdf2e40c8d
üst
c982e6f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
AccessibleEditableTextPara.cxx
editeng/source/accessibility/AccessibleEditableTextPara.cxx
+13
-1
No files found.
editeng/source/accessibility/AccessibleEditableTextPara.cxx
Dosyayı görüntüle @
f141ef6b
...
...
@@ -1025,7 +1025,19 @@ namespace accessibility
void
SAL_CALL
AccessibleEditableTextPara
::
removeAccessibleEventListener
(
const
uno
::
Reference
<
XAccessibleEventListener
>&
xListener
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
if
(
getNotifierClientId
()
!=
-
1
)
::
comphelper
::
AccessibleEventNotifier
::
removeEventListener
(
getNotifierClientId
(),
xListener
);
{
const
sal_Int32
nListenerCount
=
::
comphelper
::
AccessibleEventNotifier
::
removeEventListener
(
getNotifierClientId
(),
xListener
);
if
(
!
nListenerCount
)
{
// no listeners anymore
// -> revoke ourself. This may lead to the notifier thread dying (if we were the last client),
// and at least to us not firing any events anymore, in case somebody calls
// NotifyAccessibleEvent, again
::
comphelper
::
AccessibleEventNotifier
::
TClientId
nId
(
getNotifierClientId
()
);
mnNotifierClientId
=
-
1
;
::
comphelper
::
AccessibleEventNotifier
::
revokeClient
(
nId
);
}
}
}
// XAccessibleComponent
...
...
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