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
7df4d854
Kaydet (Commit)
7df4d854
authored
Tem 13, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
emf: test for empty polygons
Change-Id: I3c8896230e3d48a37f4b8d702b0f673e44f45ba4
üst
5d75fc9d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
11 deletions
+15
-11
crash-2.emf
vcl/qa/cppunit/graphicfilter/data/emf/fail/crash-2.emf
+0
-0
winmtf.cxx
vcl/source/filter/wmf/winmtf.cxx
+15
-11
No files found.
vcl/qa/cppunit/graphicfilter/data/emf/fail/crash-2.emf
0 → 100644
Dosyayı görüntüle @
7df4d854
File added
vcl/source/filter/wmf/winmtf.cxx
Dosyayı görüntüle @
7df4d854
...
...
@@ -1294,18 +1294,22 @@ void WinMtfOutput::DrawPolyLine( Polygon& rPolygon, bool bTo, bool bRecordPath )
{
UpdateClipRegion
();
ImplMap
(
rPolygon
);
if
(
bTo
)
{
rPolygon
[
0
]
=
maActPos
;
maActPos
=
rPolygon
[
rPolygon
.
GetSize
()
-
1
];
}
if
(
bRecordPath
)
aPathObj
.
AddPolyLine
(
rPolygon
);
else
sal_uInt16
nPoints
=
rPolygon
.
GetSize
();
if
(
nPoints
>=
1
)
{
UpdateLineStyle
();
mpGDIMetaFile
->
AddAction
(
new
MetaPolyLineAction
(
rPolygon
,
maLineStyle
.
aLineInfo
)
);
ImplMap
(
rPolygon
);
if
(
bTo
)
{
rPolygon
[
0
]
=
maActPos
;
maActPos
=
rPolygon
[
rPolygon
.
GetSize
()
-
1
];
}
if
(
bRecordPath
)
aPathObj
.
AddPolyLine
(
rPolygon
);
else
{
UpdateLineStyle
();
mpGDIMetaFile
->
AddAction
(
new
MetaPolyLineAction
(
rPolygon
,
maLineStyle
.
aLineInfo
)
);
}
}
}
...
...
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