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
493cd526
Kaydet (Commit)
493cd526
authored
Eki 21, 2013
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove pointless EventListeners typedef
Change-Id: I9cb8ea746c87b394c4c5993de14f692ea018c558
üst
65fce112
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
accessibleeventnotifier.cxx
comphelper/source/misc/accessibleeventnotifier.cxx
+5
-5
No files found.
comphelper/source/misc/accessibleeventnotifier.cxx
Dosyayı görüntüle @
493cd526
...
...
@@ -39,11 +39,10 @@ namespace
typedef
::
std
::
pair
<
AccessibleEventNotifier
::
TClientId
,
AccessibleEventObject
>
ClientEvent
;
typedef
::
cppu
::
OInterfaceContainerHelper
EventListeners
;
typedef
::
std
::
map
<
AccessibleEventNotifier
::
TClientId
,
EventListeners
*
,
typedef
::
std
::
map
<
AccessibleEventNotifier
::
TClientId
,
::
cppu
::
OInterfaceContainerHelper
*
,
::
std
::
less
<
AccessibleEventNotifier
::
TClientId
>
>
ClientMap
;
struct
lclMutex
:
public
rtl
::
Static
<
::
osl
::
Mutex
,
lclMutex
>
{};
struct
Clients
...
...
@@ -132,7 +131,8 @@ namespace comphelper
TClientId
nNewClientId
=
generateId
(
);
// the event listeners for the new client
EventListeners
*
pNewListeners
=
new
EventListeners
(
lclMutex
::
get
()
);
::
cppu
::
OInterfaceContainerHelper
*
const
pNewListeners
=
new
::
cppu
::
OInterfaceContainerHelper
(
lclMutex
::
get
()
);
// note that we're using our own mutex here, so the listener containers for all
// our clients share this same mutex.
// this is a reminiscense to the days where the notifier was asynchronous. Today this is
...
...
@@ -164,7 +164,7 @@ namespace comphelper
void
AccessibleEventNotifier
::
revokeClientNotifyDisposing
(
const
TClientId
_nClient
,
const
Reference
<
XInterface
>&
_rxEventSource
)
SAL_THROW
(
(
)
)
{
EventListeners
*
pListeners
(
0
);
::
cppu
::
OInterfaceContainerHelper
*
pListeners
(
0
);
{
// rhbz#1001768 drop the mutex before calling disposeAndClear
...
...
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