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
75aa1bf8
Kaydet (Commit)
75aa1bf8
authored
Haz 02, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: Ied61df6c80a05037fc6335c098c9ac2671ad1c4d
üst
ab9c10c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
typelib.cxx
cppu/source/typelib/typelib.cxx
+3
-3
No files found.
cppu/source/typelib/typelib.cxx
Dosyayı görüntüle @
75aa1bf8
...
...
@@ -1423,7 +1423,7 @@ extern "C" void SAL_CALL typelib_typedescription_release(
if
(
rInit
.
pWeakMap
)
{
MutexGuard
aGuard
(
rInit
.
getMutex
()
);
WeakMap_Impl
::
iterator
aIt
=
rInit
.
pWeakMap
->
find
(
(
sal_Unicode
*
)
pTD
->
pTypeName
->
buffer
);
WeakMap_Impl
::
iterator
aIt
=
rInit
.
pWeakMap
->
find
(
pTD
->
pTypeName
->
buffer
);
if
(
aIt
!=
rInit
.
pWeakMap
->
end
()
&&
(
void
*
)(
*
aIt
).
second
==
(
void
*
)
pTD
)
{
// remove only if it contains the same object
...
...
@@ -2183,7 +2183,7 @@ extern "C" void SAL_CALL typelib_typedescriptionreference_release(
if
(
rInit
.
pWeakMap
)
{
MutexGuard
aGuard
(
rInit
.
getMutex
()
);
WeakMap_Impl
::
iterator
aIt
=
rInit
.
pWeakMap
->
find
(
(
sal_Unicode
*
)
pRef
->
pTypeName
->
buffer
);
WeakMap_Impl
::
iterator
aIt
=
rInit
.
pWeakMap
->
find
(
pRef
->
pTypeName
->
buffer
);
if
(
!
(
aIt
==
rInit
.
pWeakMap
->
end
())
&&
(
*
aIt
).
second
==
pRef
)
{
// remove only if it contains the same object
...
...
@@ -2268,7 +2268,7 @@ extern "C" void SAL_CALL typelib_typedescriptionreference_getByName(
if
(
rInit
.
pWeakMap
)
{
MutexGuard
aGuard
(
rInit
.
getMutex
()
);
WeakMap_Impl
::
const_iterator
aIt
=
rInit
.
pWeakMap
->
find
(
(
sal_Unicode
*
)
pName
->
buffer
);
WeakMap_Impl
::
const_iterator
aIt
=
rInit
.
pWeakMap
->
find
(
pName
->
buffer
);
if
(
!
(
aIt
==
rInit
.
pWeakMap
->
end
())
)
// != failed on msc4.2
{
sal_Int32
n
=
osl_atomic_increment
(
&
(
*
aIt
).
second
->
nRefCount
);
...
...
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