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
5d5d773f
Kaydet (Commit)
5d5d773f
authored
May 07, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#735848 Explicit null dereferenced
Change-Id: I9fb6da4d448923fd5b8822a72d6945a0c0b5f40d
üst
5818415d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
tplcitem.cxx
sfx2/source/dialog/tplcitem.cxx
+5
-2
No files found.
sfx2/source/dialog/tplcitem.cxx
Dosyayı görüntüle @
5d5d773f
...
@@ -103,8 +103,11 @@ void SfxTemplateControllerItem::StateChanged( sal_uInt16 nSID, SfxItemState eSta
...
@@ -103,8 +103,11 @@ void SfxTemplateControllerItem::StateChanged( sal_uInt16 nSID, SfxItemState eSta
else
if
(
eState
==
SFX_ITEM_AVAILABLE
)
else
if
(
eState
==
SFX_ITEM_AVAILABLE
)
{
{
const
SfxBoolItem
*
pStateItem
=
PTR_CAST
(
SfxBoolItem
,
pItem
);
const
SfxBoolItem
*
pStateItem
=
PTR_CAST
(
SfxBoolItem
,
pItem
);
DBG_ASSERT
(
pStateItem
!=
0
,
"BoolItem expected"
);
assert
(
pStateItem
);
//BoolItem expected
nWaterCanState
=
pStateItem
->
GetValue
()
?
1
:
0
;
if
(
pStateItem
)
nWaterCanState
=
pStateItem
->
GetValue
()
?
1
:
0
;
else
nWaterCanState
=
0xff
;
}
}
//not necessary if the last event is still on the way
//not necessary if the last event is still on the way
if
(
!
nUserEventId
)
if
(
!
nUserEventId
)
...
...
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