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
c8e3a40a
Kaydet (Commit)
c8e3a40a
authored
May 07, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ofc avoid oom
Change-Id: I2983d97895206db481b990ccd4f0ecd9d8b31b81
üst
7cc8555e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
ww8toolbar.cxx
sw/source/filter/ww8/ww8toolbar.cxx
+9
-1
No files found.
sw/source/filter/ww8/ww8toolbar.cxx
Dosyayı görüntüle @
c8e3a40a
...
@@ -946,7 +946,15 @@ bool PlfMcd::Read(SvStream &rS)
...
@@ -946,7 +946,15 @@ bool PlfMcd::Read(SvStream &rS)
nOffSet
=
rS
.
Tell
();
nOffSet
=
rS
.
Tell
();
Tcg255SubStruct
::
Read
(
rS
);
Tcg255SubStruct
::
Read
(
rS
);
rS
.
ReadInt32
(
iMac
);
rS
.
ReadInt32
(
iMac
);
if
(
iMac
)
if
(
iMac
<
0
)
return
false
;
auto
nMaxPossibleRecords
=
rS
.
remainingSize
()
/
24
/*sizeof MCD*/
;
if
(
static_cast
<
sal_uInt32
>
(
iMac
)
>
nMaxPossibleRecords
)
{
SAL_WARN
(
"sw.ww8"
,
iMac
<<
" records claimed, but max possible is "
<<
nMaxPossibleRecords
);
iMac
=
nMaxPossibleRecords
;
}
if
(
iMac
)
{
{
rgmcd
.
resize
(
iMac
);
rgmcd
.
resize
(
iMac
);
for
(
sal_Int32
index
=
0
;
index
<
iMac
;
++
index
)
for
(
sal_Int32
index
=
0
;
index
<
iMac
;
++
index
)
...
...
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