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
c2518d1f
Kaydet (Commit)
c2518d1f
authored
May 24, 2014
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cppcheck: variableScope
Change-Id: I36c0d491bc27ff93c13b1c497e450646d7151df4
üst
66e4c16f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
bitmap.cxx
vcl/source/gdi/bitmap.cxx
+3
-6
No files found.
vcl/source/gdi/bitmap.cxx
Dosyayı görüntüle @
c2518d1f
...
...
@@ -724,8 +724,6 @@ bool Bitmap::Rotate( long nAngle10, const Color& rFillColor )
long
nY
;
long
nRotX
;
long
nRotY
;
long
nSinY
;
long
nCosY
;
boost
::
scoped_array
<
long
>
pCosX
(
new
long
[
nNewWidth
]);
boost
::
scoped_array
<
long
>
pSinX
(
new
long
[
nNewWidth
]);
boost
::
scoped_array
<
long
>
pCosY
(
new
long
[
nNewHeight
]);
...
...
@@ -749,8 +747,8 @@ bool Bitmap::Rotate( long nAngle10, const Color& rFillColor )
for
(
nY
=
0L
;
nY
<
nNewHeight
;
nY
++
)
{
nSinY
=
pSinY
[
nY
];
nCosY
=
pCosY
[
nY
];
long
nSinY
=
pSinY
[
nY
];
long
nCosY
=
pCosY
[
nY
];
for
(
nX
=
0L
;
nX
<
nNewWidth
;
nX
++
)
{
...
...
@@ -869,13 +867,12 @@ bool Bitmap::CopyPixel( const Rectangle& rRectDst,
{
const
long
nSrcCount
=
pDstAcc
->
GetPaletteEntryCount
();
const
long
nDstCount
=
1
<<
nDstBitCount
;
bool
bFound
;
for
(
long
i
=
0L
;
(
i
<
nSrcCount
)
&&
(
nNextIndex
<
nSrcCount
);
i
++
)
{
const
BitmapColor
&
rSrcCol
=
pSrcAcc
->
GetPaletteColor
(
(
sal_uInt16
)
i
);
bFound
=
false
;
b
ool
b
Found
=
false
;
for
(
long
j
=
0L
;
j
<
nDstCount
;
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