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
a6b23e53
Kaydet (Commit)
a6b23e53
authored
Eki 25, 2012
tarafından
Armin Le Grand
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#121237# Corrected Region export, was missing to write an end marker when RegionBand was empty
üst
d3356ace
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
region.cxx
vcl/source/gdi/region.cxx
+10
-4
No files found.
vcl/source/gdi/region.cxx
Dosyayı görüntüle @
a6b23e53
...
...
@@ -1389,8 +1389,7 @@ bool Region::IsInside( const Point& rPoint ) const
//}
// ensure RegionBand existance
const_cast
<
Region
*
>
(
this
)
->
GetAsRegionBand
();
const
RegionBand
*
pRegionBand
=
getRegionBand
();
const
RegionBand
*
pRegionBand
=
GetAsRegionBand
();
if
(
pRegionBand
)
{
...
...
@@ -1673,6 +1672,14 @@ SvStream& operator<<( SvStream& rOStrm, const Region& rRegion )
{
pRegionBand
->
save
(
rOStrm
);
}
else
{
// for compatibility, write an empty RegionBand (will only write
// the end marker STREAMENTRY_END, but this *is* needed)
const
RegionBand
aRegionBand
;
aRegionBand
.
save
(
rOStrm
);
}
// write polypolygon if available
const
sal_Bool
bHasPolyPolygon
(
rRegion
.
HasPolyPolygonOrB2DPolyPolygon
());
...
...
@@ -1696,8 +1703,7 @@ void Region::GetRegionRectangles(RectangleVector& rTarget) const
rTarget
.
clear
();
// ensure RegionBand existance
const_cast
<
Region
*
>
(
this
)
->
GetAsRegionBand
();
const
RegionBand
*
pRegionBand
=
getRegionBand
();
const
RegionBand
*
pRegionBand
=
GetAsRegionBand
();
if
(
pRegionBand
)
{
...
...
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