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
6eaf5565
Kaydet (Commit)
6eaf5565
authored
Eki 07, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
clang-analyzer-deadcode.DeadStores
Change-Id: Ic9d76c173d3948c973a96a97debccc771c2c9ede
üst
54bb1410
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
ipict.cxx
filter/source/graphicfilter/ipict/ipict.cxx
+7
-5
No files found.
filter/source/graphicfilter/ipict/ipict.cxx
Dosyayı görüntüle @
6eaf5565
...
...
@@ -706,9 +706,9 @@ sal_uLong PictReader::ReadPixMapEtc( Bitmap &rBitmap, bool bBaseAddr, bool bColo
BitmapWriteAccess
*
pAcc
=
NULL
;
BitmapReadAccess
*
pReadAcc
=
NULL
;
sal_uInt16
nColTabSize
;
sal_uInt16
nRowBytes
,
nBndX
,
nBndY
,
nWidth
,
nHeight
,
n
Version
,
nPackType
,
nPixel
Type
,
sal_uInt16
nRowBytes
,
nBndX
,
nBndY
,
nWidth
,
nHeight
,
n
Pack
Type
,
nPixelSize
,
nCmpCount
,
nCmpSize
;
sal_uInt32
n
PackSize
,
nPlaneBytes
,
n
HRes
,
nVRes
;
sal_uInt32
nHRes
,
nVRes
;
sal_uInt8
nDat
,
nRed
,
nGreen
,
nBlue
,
nDummy
;
size_t
i
,
nDataSize
=
0
;
...
...
@@ -730,6 +730,10 @@ sal_uLong PictReader::ReadPixMapEtc( Bitmap &rBitmap, bool bBaseAddr, bool bColo
if
(
(
nRowBytes
&
0x8000
)
!=
0
)
{
// it is a PixMap
nRowBytes
&=
0x3fff
;
sal_uInt16
nVersion
;
sal_uInt32
nPackSize
;
sal_uInt16
nPixelType
;
sal_uInt32
nPlaneBytes
;
pPict
->
ReadUInt16
(
nVersion
).
ReadUInt16
(
nPackType
).
ReadUInt32
(
nPackSize
).
ReadUInt32
(
nHRes
).
ReadUInt32
(
nVRes
).
ReadUInt16
(
nPixelType
).
ReadUInt16
(
nPixelSize
).
ReadUInt16
(
nCmpCount
).
ReadUInt16
(
nCmpSize
).
ReadUInt32
(
nPlaneBytes
);
pPict
->
SeekRel
(
8
);
...
...
@@ -769,10 +773,8 @@ sal_uLong PictReader::ReadPixMapEtc( Bitmap &rBitmap, bool bBaseAddr, bool bColo
else
{
nRowBytes
&=
0x3fff
;
nVersion
=
0
;
nPackType
=
0
;
nPackSize
=
nHRes
=
nVRes
=
nPlaneBytes
=
0
;
nPixelType
=
0
;
// nHRes = nVRes = 0;
nPixelSize
=
nCmpCount
=
nCmpSize
=
1
;
nDataSize
+=
10
;
aBitmap
=
Bitmap
(
Size
(
nWidth
,
nHeight
),
1
);
...
...
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