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
85a2ec80
Kaydet (Commit)
85a2ec80
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: I4eea017d429945cdd8636c0f06cb18f5887a0d78
üst
cd14c536
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
component.cxx
cppuhelper/source/component.cxx
+2
-2
propshlp.cxx
cppuhelper/source/propshlp.cxx
+2
-2
weak.cxx
cppuhelper/source/weak.cxx
+4
-4
No files found.
cppuhelper/source/component.cxx
Dosyayı görüntüle @
85a2ec80
...
...
@@ -168,7 +168,7 @@ void OComponentHelper::dispose()
try
{
Reference
<
XInterface
>
xSource
(
Reference
<
XInterface
>::
query
(
(
XComponent
*
)
this
)
);
Reference
<
XInterface
>::
query
(
static_cast
<
XComponent
*>
(
this
)
)
);
EventObject
aEvt
;
aEvt
.
Source
=
xSource
;
// inform all listeners to release this object
...
...
@@ -218,7 +218,7 @@ void OComponentHelper::addEventListener(
if
(
rBHelper
.
bDisposed
||
rBHelper
.
bInDispose
)
{
aGuard
.
clear
();
Reference
<
XInterface
>
x
(
(
XComponent
*
)
this
,
UNO_QUERY
);
Reference
<
XInterface
>
x
(
static_cast
<
XComponent
*>
(
this
)
,
UNO_QUERY
);
rxListener
->
disposing
(
EventObject
(
x
)
);
}
else
...
...
cppuhelper/source/propshlp.cxx
Dosyayı görüntüle @
85a2ec80
...
...
@@ -648,7 +648,7 @@ void OPropertySetHelper::fire
// create the event sequence of all changed properties
Sequence
<
PropertyChangeEvent
>
aEvts
(
nHandles
);
PropertyChangeEvent
*
pEvts
=
aEvts
.
getArray
();
Reference
<
XInterface
>
xSource
(
(
XPropertySet
*
)
this
,
UNO_QUERY
);
Reference
<
XInterface
>
xSource
(
static_cast
<
XPropertySet
*>
(
this
)
,
UNO_QUERY
);
sal_Int32
i
;
sal_Int32
nChangesLen
=
0
;
// Loop over all changed properties to fill the event struct
...
...
@@ -975,7 +975,7 @@ void OPropertySetHelper::firePropertiesChangeEvent(
{
// must lock the mutex outside the loop. So all values are consistent.
MutexGuard
aGuard
(
rBHelper
.
rMutex
);
Reference
<
XInterface
>
xSource
(
(
XPropertySet
*
)
this
,
UNO_QUERY
);
Reference
<
XInterface
>
xSource
(
static_cast
<
XPropertySet
*>
(
this
)
,
UNO_QUERY
);
sal_Int32
nFirePos
=
0
;
for
(
i
=
0
;
i
<
nLen
;
i
++
)
{
...
...
cppuhelper/source/weak.cxx
Dosyayı görüntüle @
85a2ec80
...
...
@@ -350,7 +350,7 @@ OWeakRefListener::OWeakRefListener(const Reference< XInterface >& xInt)
if
(
m_XWeakConnectionPoint
.
is
())
{
m_XWeakConnectionPoint
->
addReference
(
(
XReference
*
)
this
);
m_XWeakConnectionPoint
->
addReference
(
static_cast
<
XReference
*>
(
this
)
);
}
}
}
...
...
@@ -365,7 +365,7 @@ OWeakRefListener::~OWeakRefListener()
if
(
m_XWeakConnectionPoint
.
is
())
{
acquire
();
// dont die again
m_XWeakConnectionPoint
->
removeReference
(
(
XReference
*
)
this
);
m_XWeakConnectionPoint
->
removeReference
(
static_cast
<
XReference
*>
(
this
)
);
}
}
catch
(
RuntimeException
&
)
{
OSL_ASSERT
(
false
);
}
// assert here, but no unexpected()
...
...
@@ -405,7 +405,7 @@ void SAL_CALL OWeakRefListener::dispose()
}
if
(
xAdp
.
is
()
)
xAdp
->
removeReference
(
(
XReference
*
)
this
);
xAdp
->
removeReference
(
static_cast
<
XReference
*>
(
this
)
);
}
...
...
@@ -441,7 +441,7 @@ void WeakReferenceHelper::clear()
if
(
m_pImpl
->
m_XWeakConnectionPoint
.
is
())
{
m_pImpl
->
m_XWeakConnectionPoint
->
removeReference
(
(
XReference
*
)
m_pImpl
);
static_cast
<
XReference
*>
(
m_pImpl
)
);
m_pImpl
->
m_XWeakConnectionPoint
.
clear
();
}
m_pImpl
->
release
();
...
...
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