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
3ef509a1
Kaydet (Commit)
3ef509a1
authored
Şub 26, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:loopvartoosmall
Change-Id: I4dce711021557e6e0b1fb661285d32292b0478b6
üst
8b703645
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
canvasbitmaphelper.cxx
canvas/source/vcl/canvasbitmaphelper.cxx
+13
-13
No files found.
canvas/source/vcl/canvasbitmaphelper.cxx
Dosyayı görüntüle @
3ef509a1
...
...
@@ -152,13 +152,13 @@ namespace vclcanvas
sal_Int8
*
pRes
=
aRes
.
getArray
();
int
nCurrPos
(
0
);
for
(
int
y
=
rect
.
Y1
;
for
(
long
y
=
rect
.
Y1
;
y
<
aBmpSize
.
Height
()
&&
y
<
rect
.
Y2
;
++
y
)
{
if
(
pAlphaReadAccess
.
get
()
!=
nullptr
)
{
for
(
int
x
=
rect
.
X1
;
for
(
long
x
=
rect
.
X1
;
x
<
aBmpSize
.
Width
()
&&
x
<
rect
.
X2
;
++
x
)
{
...
...
@@ -170,7 +170,7 @@ namespace vclcanvas
}
else
{
for
(
int
x
=
rect
.
X1
;
for
(
long
x
=
rect
.
X1
;
x
<
aBmpSize
.
Width
()
&&
x
<
rect
.
X2
;
++
x
)
{
...
...
@@ -230,8 +230,8 @@ namespace vclcanvas
const
Size
aBmpSize
(
aBitmap
.
GetSizePixel
()
);
// for the time being, always read as BGRA
int
x
,
y
,
nCurrPos
(
0
);
for
(
y
=
rect
.
Y1
;
int
nCurrPos
(
0
);
for
(
long
y
=
rect
.
Y1
;
y
<
aBmpSize
.
Height
()
&&
y
<
rect
.
Y2
;
++
y
)
{
...
...
@@ -244,7 +244,7 @@ namespace vclcanvas
Scanline
pScan
=
pWriteAccess
->
GetScanline
(
y
);
Scanline
pAScan
=
pAlphaWriteAccess
->
GetScanline
(
y
);
for
(
x
=
rect
.
X1
;
for
(
long
x
=
rect
.
X1
;
x
<
aBmpSize
.
Width
()
&&
x
<
rect
.
X2
;
++
x
)
{
...
...
@@ -267,7 +267,7 @@ namespace vclcanvas
Scanline
pScan
=
pWriteAccess
->
GetScanline
(
y
);
Scanline
pAScan
=
pAlphaWriteAccess
->
GetScanline
(
y
);
for
(
x
=
rect
.
X1
;
for
(
long
x
=
rect
.
X1
;
x
<
aBmpSize
.
Width
()
&&
x
<
rect
.
X2
;
++
x
)
{
...
...
@@ -289,7 +289,7 @@ namespace vclcanvas
Scanline
pScan
=
pWriteAccess
->
GetScanline
(
y
);
Scanline
pAScan
=
pAlphaWriteAccess
->
GetScanline
(
y
);
for
(
x
=
rect
.
X1
;
for
(
long
x
=
rect
.
X1
;
x
<
aBmpSize
.
Width
()
&&
x
<
rect
.
X2
;
++
x
)
{
...
...
@@ -308,7 +308,7 @@ namespace vclcanvas
default
:
{
for
(
x
=
rect
.
X1
;
for
(
long
x
=
rect
.
X1
;
x
<
aBmpSize
.
Width
()
&&
x
<
rect
.
X2
;
++
x
)
{
...
...
@@ -337,7 +337,7 @@ namespace vclcanvas
{
Scanline
pScan
=
pWriteAccess
->
GetScanline
(
y
);
for
(
x
=
rect
.
X1
;
for
(
long
x
=
rect
.
X1
;
x
<
aBmpSize
.
Width
()
&&
x
<
rect
.
X2
;
++
x
)
{
...
...
@@ -355,7 +355,7 @@ namespace vclcanvas
{
Scanline
pScan
=
pWriteAccess
->
GetScanline
(
y
);
for
(
x
=
rect
.
X1
;
for
(
long
x
=
rect
.
X1
;
x
<
aBmpSize
.
Width
()
&&
x
<
rect
.
X2
;
++
x
)
{
...
...
@@ -372,7 +372,7 @@ namespace vclcanvas
{
Scanline
pScan
=
pWriteAccess
->
GetScanline
(
y
);
for
(
x
=
rect
.
X1
;
for
(
long
x
=
rect
.
X1
;
x
<
aBmpSize
.
Width
()
&&
x
<
rect
.
X2
;
++
x
)
{
...
...
@@ -387,7 +387,7 @@ namespace vclcanvas
default
:
{
for
(
x
=
rect
.
X1
;
for
(
long
x
=
rect
.
X1
;
x
<
aBmpSize
.
Width
()
&&
x
<
rect
.
X2
;
++
x
)
{
...
...
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