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
bec28033
Kaydet (Commit)
bec28033
authored
Eki 23, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#704558 Dereference after null check
Change-Id: I6fe44d8926acd185bb6bc671fb7df8ae935998c1
üst
dc4d6c59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
exprnode.cxx
basic/source/comp/exprnode.cxx
+2
-3
No files found.
basic/source/comp/exprnode.cxx
Dosyayı görüntüle @
bec28033
...
...
@@ -240,13 +240,12 @@ void SbiExprNode::CollectBits()
// If a twig can be converted, True will be returned. In this case
// the result is in the left twig.
void
SbiExprNode
::
FoldConstants
()
{
if
(
IsOperand
()
||
eTok
==
LIKE
)
return
;
if
(
pLeft
)
pLeft
->
FoldConstants
();
if
(
pRight
)
if
(
pLeft
&&
pRight
)
{
pRight
->
FoldConstants
();
if
(
pLeft
->
IsConstant
()
&&
pRight
->
IsConstant
()
...
...
@@ -419,7 +418,7 @@ void SbiExprNode::FoldConstants()
}
}
}
else
if
(
pLeft
&&
pLeft
->
IsNumber
()
)
else
if
(
pLeft
&&
pLeft
->
IsNumber
()
)
{
nVal
=
pLeft
->
nVal
;
delete
pLeft
;
...
...
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