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
8547c336
Kaydet (Commit)
8547c336
authored
Tem 15, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: C2220
Change-Id: Ibf9fa7ffc3beb237a470952c265fb1bce313a08a
üst
1a3eedcc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
hang-2.met
filter/qa/cppunit/data/met/pass/hang-2.met
+0
-0
ios2met.cxx
filter/source/graphicfilter/ios2met/ios2met.cxx
+4
-2
No files found.
filter/qa/cppunit/data/met/
fail
/hang-2.met
→
filter/qa/cppunit/data/met/
pass
/hang-2.met
Dosyayı görüntüle @
8547c336
File moved
filter/source/graphicfilter/ios2met/ios2met.cxx
Dosyayı görüntüle @
8547c336
...
@@ -1192,13 +1192,15 @@ void OS2METReader::ReadPolygons()
...
@@ -1192,13 +1192,15 @@ void OS2METReader::ReadPolygons()
{
{
sal_uInt32
nNumPoints
(
0
);
sal_uInt32
nNumPoints
(
0
);
pOS2MET
->
ReadUInt32
(
nNumPoints
);
pOS2MET
->
ReadUInt32
(
nNumPoints
);
if
(
nNumPoints
>
(
i
==
0
)
?
SAL_MAX_UINT16
-
1
:
SAL_MAX_UINT16
)
sal_uInt32
nLimit
=
SAL_MAX_UINT16
;
if
(
i
==
0
)
--
nLimit
;
if
(
nNumPoints
>
nLimit
)
{
{
pOS2MET
->
SetError
(
SVSTREAM_FILEFORMAT_ERROR
);
pOS2MET
->
SetError
(
SVSTREAM_FILEFORMAT_ERROR
);
ErrorCode
=
11
;
ErrorCode
=
11
;
return
;
return
;
}
}
if
(
i
==
0
)
nNumPoints
++
;
if
(
i
==
0
)
++
nNumPoints
;
aPoly
.
SetSize
((
short
)
nNumPoints
);
aPoly
.
SetSize
((
short
)
nNumPoints
);
for
(
sal_uInt32
j
=
0
;
j
<
nNumPoints
;
++
j
)
for
(
sal_uInt32
j
=
0
;
j
<
nNumPoints
;
++
j
)
{
{
...
...
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