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
02d83cb5
Kaydet (Commit)
02d83cb5
authored
Ara 27, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1019332 Unchecked dynamic_cast
Change-Id: I280928da005b8cdd94c8bf33eb5aaa86a5ea2fcd
üst
435a3a32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
javatype.cxx
codemaker/source/javamaker/javatype.cxx
+6
-7
No files found.
codemaker/source/javamaker/javatype.cxx
Dosyayı görüntüle @
02d83cb5
...
...
@@ -1371,17 +1371,16 @@ void addPlainStructBaseArguments(
"unexpected entity
\"
"
+
base
+
"
\"
in call to addPlainStructBaseArguments"
);
}
rtl
::
Reference
<
unoidl
::
PlainStructTypeEntity
>
ent2
(
dynamic_cast
<
unoidl
::
PlainStructTypeEntity
*
>
(
ent
.
get
()));
assert
(
ent2
.
is
());
if
(
!
ent2
->
getDirectBase
().
isEmpty
())
{
unoidl
::
PlainStructTypeEntity
&
ent2
(
dynamic_cast
<
unoidl
::
PlainStructTypeEntity
&>
(
*
ent
.
get
()));
if
(
!
ent2
.
getDirectBase
().
isEmpty
())
{
addPlainStructBaseArguments
(
manager
,
dependencies
,
methodDescriptor
,
code
,
ent2
->
getDirectBase
(),
index
);
ent2
.
getDirectBase
(),
index
);
}
for
(
std
::
vector
<
unoidl
::
PlainStructTypeEntity
::
Member
>::
const_iterator
i
(
ent2
->
getDirectMembers
().
begin
());
i
!=
ent2
->
getDirectMembers
().
end
();
++
i
)
ent2
.
getDirectMembers
().
begin
());
i
!=
ent2
.
getDirectMembers
().
end
();
++
i
)
{
methodDescriptor
->
addParameter
(
i
->
type
,
false
,
true
,
0
);
addLoadLocal
(
manager
,
code
,
index
,
false
,
i
->
type
,
false
,
dependencies
);
...
...
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