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
70f90c80
Kaydet (Commit)
70f90c80
authored
Mar 20, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#735668 Dereference after null check
Change-Id: Ie7fbc0508ab30c35c52508869367f553b75553e0
üst
96926d2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
tbxitem.cxx
sfx2/source/toolbox/tbxitem.cxx
+3
-1
No files found.
sfx2/source/toolbox/tbxitem.cxx
Dosyayı görüntüle @
70f90c80
...
@@ -933,6 +933,7 @@ void SfxToolBoxControl::StateChanged
...
@@ -933,6 +933,7 @@ void SfxToolBoxControl::StateChanged
switch
(
eState
)
switch
(
eState
)
{
{
case
SFX_ITEM_AVAILABLE
:
case
SFX_ITEM_AVAILABLE
:
if
(
pState
)
{
{
if
(
pState
->
ISA
(
SfxBoolItem
)
)
if
(
pState
->
ISA
(
SfxBoolItem
)
)
{
{
...
@@ -951,14 +952,15 @@ void SfxToolBoxControl::StateChanged
...
@@ -951,14 +952,15 @@ void SfxToolBoxControl::StateChanged
}
}
else
if
(
pImpl
->
bShowString
&&
pState
->
ISA
(
SfxStringItem
)
)
else
if
(
pImpl
->
bShowString
&&
pState
->
ISA
(
SfxStringItem
)
)
pImpl
->
pBox
->
SetItemText
(
nId
,
((
const
SfxStringItem
*
)
pState
)
->
GetValue
()
);
pImpl
->
pBox
->
SetItemText
(
nId
,
((
const
SfxStringItem
*
)
pState
)
->
GetValue
()
);
break
;
}
}
break
;
case
SFX_ITEM_DONTCARE
:
case
SFX_ITEM_DONTCARE
:
{
{
eTri
=
TRISTATE_INDET
;
eTri
=
TRISTATE_INDET
;
nItemBits
|=
TIB_CHECKABLE
;
nItemBits
|=
TIB_CHECKABLE
;
}
}
break
;
}
}
pImpl
->
pBox
->
SetItemState
(
GetId
(),
eTri
);
pImpl
->
pBox
->
SetItemState
(
GetId
(),
eTri
);
...
...
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