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
e2e5689a
Kaydet (Commit)
e2e5689a
authored
Ara 22, 2013
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Typos
Change-Id: I101d2c40bc08130f719f52494d95ab60d1d97e0f
üst
128aeab3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
region.cxx
vcl/source/gdi/region.cxx
+3
-3
regionband.cxx
vcl/source/gdi/regionband.cxx
+5
-5
No files found.
vcl/source/gdi/region.cxx
Dosyayı görüntüle @
e2e5689a
...
@@ -670,7 +670,7 @@ bool Region::Intersect( const Rectangle& rRect )
...
@@ -670,7 +670,7 @@ bool Region::Intersect( const Rectangle& rRect )
const
long
nRight
(
std
::
max
(
rRect
.
Left
(),
rRect
.
Right
()));
const
long
nRight
(
std
::
max
(
rRect
.
Left
(),
rRect
.
Right
()));
const
long
nBottom
(
std
::
max
(
rRect
.
Top
(),
rRect
.
Bottom
()));
const
long
nBottom
(
std
::
max
(
rRect
.
Top
(),
rRect
.
Bottom
()));
// insert bands if the boundaries are not al
l
ready in the list
// insert bands if the boundaries are not already in the list
pNew
->
InsertBands
(
nTop
,
nBottom
);
pNew
->
InsertBands
(
nTop
,
nBottom
);
// process intersect
// process intersect
...
@@ -751,7 +751,7 @@ bool Region::Exclude( const Rectangle& rRect )
...
@@ -751,7 +751,7 @@ bool Region::Exclude( const Rectangle& rRect )
const
long
nRight
(
std
::
max
(
rRect
.
Left
(),
rRect
.
Right
()));
const
long
nRight
(
std
::
max
(
rRect
.
Left
(),
rRect
.
Right
()));
const
long
nBottom
(
std
::
max
(
rRect
.
Top
(),
rRect
.
Bottom
()));
const
long
nBottom
(
std
::
max
(
rRect
.
Top
(),
rRect
.
Bottom
()));
// insert bands if the boundaries are not al
l
ready in the list
// insert bands if the boundaries are not already in the list
pNew
->
InsertBands
(
nTop
,
nBottom
);
pNew
->
InsertBands
(
nTop
,
nBottom
);
// process exclude
// process exclude
...
@@ -836,7 +836,7 @@ bool Region::XOr( const Rectangle& rRect )
...
@@ -836,7 +836,7 @@ bool Region::XOr( const Rectangle& rRect )
const
long
nRight
(
std
::
max
(
rRect
.
Left
(),
rRect
.
Right
()));
const
long
nRight
(
std
::
max
(
rRect
.
Left
(),
rRect
.
Right
()));
const
long
nBottom
(
std
::
max
(
rRect
.
Top
(),
rRect
.
Bottom
()));
const
long
nBottom
(
std
::
max
(
rRect
.
Top
(),
rRect
.
Bottom
()));
// insert bands if the boundaries are not al
l
ready in the list
// insert bands if the boundaries are not already in the list
pNew
->
InsertBands
(
nTop
,
nBottom
);
pNew
->
InsertBands
(
nTop
,
nBottom
);
// process xor
// process xor
...
...
vcl/source/gdi/regionband.cxx
Dosyayı görüntüle @
e2e5689a
...
@@ -936,7 +936,7 @@ void RegionBand::Union(const RegionBand& rSource)
...
@@ -936,7 +936,7 @@ void RegionBand::Union(const RegionBand& rSource)
while
(
pBand
)
while
(
pBand
)
{
{
// insert bands if the boundaries are not al
l
ready in the list
// insert bands if the boundaries are not already in the list
InsertBands
(
pBand
->
mnYTop
,
pBand
->
mnYBottom
);
InsertBands
(
pBand
->
mnYTop
,
pBand
->
mnYBottom
);
// process all elements of the list
// process all elements of the list
...
@@ -1050,7 +1050,7 @@ void RegionBand::Intersect(const RegionBand& rSource)
...
@@ -1050,7 +1050,7 @@ void RegionBand::Intersect(const RegionBand& rSource)
while
(
pBand
)
while
(
pBand
)
{
{
// insert bands if the boundaries are not al
l
ready in the list
// insert bands if the boundaries are not already in the list
InsertBands
(
pBand
->
mnYTop
,
pBand
->
mnYBottom
);
InsertBands
(
pBand
->
mnYTop
,
pBand
->
mnYBottom
);
// process all elements of the list
// process all elements of the list
...
@@ -1083,7 +1083,7 @@ void RegionBand::Intersect(const RegionBand& rSource)
...
@@ -1083,7 +1083,7 @@ void RegionBand::Intersect(const RegionBand& rSource)
pBand
=
pBand
->
mpNextBand
;
pBand
=
pBand
->
mpNextBand
;
}
}
// remove all untouched bands if bands al
l
ready left
// remove all untouched bands if bands already left
ImplRegionBand
*
pPrevBand
=
0
;
ImplRegionBand
*
pPrevBand
=
0
;
pBand
=
mpFirstBand
;
pBand
=
mpFirstBand
;
...
@@ -1123,7 +1123,7 @@ bool RegionBand::Exclude(const RegionBand& rSource)
...
@@ -1123,7 +1123,7 @@ bool RegionBand::Exclude(const RegionBand& rSource)
while
(
pBand
)
while
(
pBand
)
{
{
// insert bands if the boundaries are not al
l
ready in the list
// insert bands if the boundaries are not already in the list
InsertBands
(
pBand
->
mnYTop
,
pBand
->
mnYBottom
);
InsertBands
(
pBand
->
mnYTop
,
pBand
->
mnYBottom
);
// process all elements of the list
// process all elements of the list
...
@@ -1177,7 +1177,7 @@ void RegionBand::XOr(const RegionBand& rSource)
...
@@ -1177,7 +1177,7 @@ void RegionBand::XOr(const RegionBand& rSource)
while
(
pBand
)
while
(
pBand
)
{
{
// insert bands if the boundaries are not al
l
ready in the list
// insert bands if the boundaries are not already in the list
InsertBands
(
pBand
->
mnYTop
,
pBand
->
mnYBottom
);
InsertBands
(
pBand
->
mnYTop
,
pBand
->
mnYBottom
);
// process all elements of the list
// process all elements of the list
...
...
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