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
27da3f66
Kaydet (Commit)
27da3f66
authored
Kas 10, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1202754 Bad bit shift operation
Change-Id: I51e8df896897b122965ada0ced161570d38f0468
üst
17796bfb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ipsd.cxx
filter/source/graphicfilter/ipsd/ipsd.cxx
+6
-6
No files found.
filter/source/graphicfilter/ipsd/ipsd.cxx
Dosyayı görüntüle @
27da3f66
...
@@ -356,14 +356,14 @@ bool PSDReader::ImplReadBody()
...
@@ -356,14 +356,14 @@ bool PSDReader::ImplReadBody()
}
}
if
(
nRunCount
&
0x80
)
// a run length packet
if
(
nRunCount
&
0x80
)
// a run length packet
{
{
if
(
nBitCount
==
-
1
)
// bits left in nDat?
{
m_rPSD
.
ReadUChar
(
nDat
);
nDat
^=
0xff
;
nBitCount
=
7
;
}
for
(
sal_uInt16
i
=
0
;
i
<
(
-
nRunCount
+
1
);
i
++
)
for
(
sal_uInt16
i
=
0
;
i
<
(
-
nRunCount
+
1
);
i
++
)
{
{
if
(
nBitCount
==
-
1
)
// bits left in nDat?
{
m_rPSD
.
ReadUChar
(
nDat
);
nDat
^=
0xff
;
nBitCount
=
7
;
}
mpWriteAcc
->
SetPixelIndex
(
nY
,
nX
,
nDat
>>
nBitCount
--
);
mpWriteAcc
->
SetPixelIndex
(
nY
,
nX
,
nDat
>>
nBitCount
--
);
if
(
++
nX
==
mpFileHeader
->
nColumns
)
if
(
++
nX
==
mpFileHeader
->
nColumns
)
{
{
...
...
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