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
ffec518e
Kaydet (Commit)
ffec518e
authored
Haz 08, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Ic657326fc9a73e97bf0a2ac650ce3700e0ca865b
üst
d5dde729
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
eventattacher.cxx
eventattacher/source/eventattacher.cxx
+7
-7
No files found.
eventattacher/source/eventattacher.cxx
Dosyayı görüntüle @
ffec518e
...
...
@@ -97,7 +97,7 @@ Reference< XInterface > createAllListenerAdapter
if
(
xInvocationAdapterFactory
.
is
()
&&
xListenerType
.
is
()
&&
xListener
.
is
()
)
{
Reference
<
XInvocation
>
xInvocationToAllListenerMapper
=
(
XInvocation
*
)
new
InvocationToAllListenerMapper
(
xListenerType
,
xListener
,
Helper
);
static_cast
<
XInvocation
*>
(
new
InvocationToAllListenerMapper
(
xListenerType
,
xListener
,
Helper
)
);
Type
aListenerType
(
xListenerType
->
getTypeClass
(),
xListenerType
->
getName
());
Sequence
<
Type
>
arg2
(
1
);
arg2
[
0
]
=
aListenerType
;
...
...
@@ -163,7 +163,7 @@ Any SAL_CALL InvocationToAllListenerMapper::invoke(const OUString& FunctionName,
}
AllEventObject
aAllEvent
;
aAllEvent
.
Source
=
(
OWeakObject
*
)
this
;
aAllEvent
.
Source
=
static_cast
<
OWeakObject
*>
(
this
)
;
aAllEvent
.
Helper
=
m_Helper
;
aAllEvent
.
ListenerType
=
Type
(
m_xListenerType
->
getTypeClass
(),
m_xListenerType
->
getName
());
aAllEvent
.
MethodName
=
FunctionName
;
...
...
@@ -296,7 +296,7 @@ EventAttacherImpl::~EventAttacherImpl()
Reference
<
XInterface
>
SAL_CALL
EventAttacherImpl_CreateInstance
(
const
Reference
<
XMultiServiceFactory
>&
rSMgr
)
throw
(
Exception
)
{
XEventAttacher
*
pEventAttacher
=
(
XEventAttacher
*
)
new
EventAttacherImpl
(
comphelper
::
getComponentContext
(
rSMgr
)
);
XEventAttacher
*
pEventAttacher
=
static_cast
<
XEventAttacher
*>
(
new
EventAttacherImpl
(
comphelper
::
getComponentContext
(
rSMgr
)
)
);
Reference
<
XInterface
>
xRet
=
Reference
<
XInterface
>::
query
(
pEventAttacher
);
...
...
@@ -762,8 +762,8 @@ Reference< XEventListener > EventAttacherImpl::attachSingleEventListener
throw
(
IllegalArgumentException
,
ServiceNotRegisteredException
,
CannotCreateAdapterException
,
IntrospectionException
,
RuntimeException
,
std
::
exception
)
{
// Subscribe FilterListener
Reference
<
XAllListener
>
aFilterListener
=
(
XAllListener
*
)
new
FilterAllListenerImpl
(
this
,
EventMethod
,
AllListener
);
Reference
<
XAllListener
>
aFilterListener
=
static_cast
<
XAllListener
*>
(
new
FilterAllListenerImpl
(
this
,
EventMethod
,
AllListener
)
)
;
return
attachListener
(
xObject
,
aFilterListener
,
Helper
,
ListenerType
,
AddListenerParam
);
}
...
...
@@ -880,8 +880,8 @@ Sequence< Reference<XEventListener> > EventAttacherImpl::attachMultipleEventList
Sequence
<
Reference
<
XAllListener
>
>
aFilterListeners
(
nCount
);
for
(
sal_Int32
i
=
0
;
i
<
nCount
;
++
i
)
{
aFilterListeners
[
i
]
=
(
XAllListener
*
)
new
FilterAllListenerImpl
(
this
,
aListeners
[
i
].
EventMethod
,
aListeners
[
i
].
AllListener
);
aFilterListeners
[
i
]
=
static_cast
<
XAllListener
*>
(
new
FilterAllListenerImpl
(
this
,
aListeners
[
i
].
EventMethod
,
aListeners
[
i
].
AllListener
)
)
;
}
return
attachListeners
(
xObject
,
aFilterListeners
,
aListeners
);
...
...
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