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
d31a216b
Kaydet (Commit)
d31a216b
authored
Ock 28, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#705814 Dereference before null check
Change-Id: Ib5eb5a7058098f7222b1597e60ddc84786403805
üst
40c78e72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
InterfaceContainer.cxx
forms/source/misc/InterfaceContainer.cxx
+3
-3
No files found.
forms/source/misc/InterfaceContainer.cxx
Dosyayı görüntüle @
d31a216b
...
@@ -875,11 +875,11 @@ void OInterfaceContainer::implInsert(sal_Int32 _nIndex, const Reference< XProper
...
@@ -875,11 +875,11 @@ void OInterfaceContainer::implInsert(sal_Int32 _nIndex, const Reference< XProper
if
(
bHandleVbaEvents
)
if
(
bHandleVbaEvents
)
{
{
Reference
<
XEventAttacherManager
>
xMgr
(
pElementMetaData
->
xInterface
,
UNO_QUERY
);
Reference
<
XEventAttacherManager
>
xMgr
(
pElementMetaData
->
xInterface
,
UNO_QUERY
);
if
(
xMgr
.
is
()
)
OInterfaceContainer
*
pIfcMgr
=
xMgr
.
is
()
?
dynamic_cast
<
OInterfaceContainer
*>
(
xMgr
.
get
())
:
NULL
;
if
(
pIfcMgr
)
{
{
OInterfaceContainer
*
pIfcMgr
=
dynamic_cast
<
OInterfaceContainer
*
>
(
xMgr
.
get
()
);
sal_Int32
nLen
=
pIfcMgr
->
getCount
();
sal_Int32
nLen
=
pIfcMgr
->
getCount
();
for
(
sal_Int32
i
=
0
;
(
i
<
nLen
)
&&
pIfcMgr
;
++
i
)
for
(
sal_Int32
i
=
0
;
i
<
nLen
;
++
i
)
{
{
// add fake events to the control at index i
// add fake events to the control at index i
pIfcMgr
->
impl_addVbEvents_nolck_nothrow
(
i
);
pIfcMgr
->
impl_addVbEvents_nolck_nothrow
(
i
);
...
...
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