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
92b936e3
Kaydet (Commit)
92b936e3
authored
Ara 10, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
avoid divide by zero
Change-Id: I7d6502c752a7b9f39f94d5cddd5f44240e0b6d04
üst
ca868de5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tocread.cxx
lotuswordpro/source/filter/tocread.cxx
+2
-0
No files found.
lotuswordpro/source/filter/tocread.cxx
Dosyayı görüntüle @
92b936e3
...
@@ -118,6 +118,8 @@ CBenTOCReader::ReadLabel(unsigned long * pTOCOffset, unsigned long * pTOCSize)
...
@@ -118,6 +118,8 @@ CBenTOCReader::ReadLabel(unsigned long * pTOCOffset, unsigned long * pTOCSize)
assert
(
Flags
==
0x0101
||
Flags
==
0x0
);
assert
(
Flags
==
0x0101
||
Flags
==
0x0
);
cBlockSize
=
UtGetIntelWord
(
pCurrLabel
)
*
1024
;
pCurrLabel
+=
2
;
cBlockSize
=
UtGetIntelWord
(
pCurrLabel
)
*
1024
;
pCurrLabel
+=
2
;
if
(
cBlockSize
==
0
)
return
BenErr_NotBentoContainer
;
// Check major version
// Check major version
if
(
UtGetIntelWord
(
pCurrLabel
)
!=
BEN_CURR_MAJOR_VERSION
)
if
(
UtGetIntelWord
(
pCurrLabel
)
!=
BEN_CURR_MAJOR_VERSION
)
...
...
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