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
07edde2d
Kaydet (Commit)
07edde2d
authored
May 24, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
check some bounds conditions
Change-Id: Iab2f715b37d9fae816723b84ee1116fd4aff9537
üst
1504284c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
msdffimp.cxx
filter/source/msfilter/msdffimp.cxx
+5
-0
No files found.
filter/source/msfilter/msdffimp.cxx
Dosyayı görüntüle @
07edde2d
...
...
@@ -5884,6 +5884,11 @@ void SvxMSDffManager::GetFidclData( sal_uInt32 nOffsDggL )
"escher"
,
"FIDCL list longer than remaining bytes, ppt or parser is wrong"
);
mnIdClusters
=
std
::
min
(
nMaxEntriesPossible
,
static_cast
<
sal_Size
>
(
mnIdClusters
));
sal_Size
nMaxEntriesAllocatable
=
SAL_MAX_UINT32
/
sizeof
(
FIDCL
);
SAL_WARN_IF
(
nMaxEntriesAllocatable
<
mnIdClusters
,
"escher"
,
"FIDCL list longer than can be allocated"
);
mnIdClusters
=
std
::
min
(
nMaxEntriesAllocatable
,
static_cast
<
sal_Size
>
(
mnIdClusters
));
mpFidcls
=
new
FIDCL
[
mnIdClusters
];
memset
(
mpFidcls
,
0
,
mnIdClusters
*
sizeof
(
FIDCL
));
for
(
sal_uInt32
i
=
0
;
i
<
mnIdClusters
;
++
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