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
352ca2f6
Kaydet (Commit)
352ca2f6
authored
Ock 22, 2014
tarafından
Tsutomu Uchino
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i106063# avoid additional seek for true color DIB
The position in the stream is already at the end of color palette.
üst
17e2f9c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
dibtools.cxx
vcl/source/gdi/dibtools.cxx
+0
-12
No files found.
vcl/source/gdi/dibtools.cxx
Dosyayı görüntüle @
352ca2f6
...
...
@@ -419,12 +419,6 @@ bool ImplReadDIBBits(SvStream& rIStm, DIBV5Header& rHeader, BitmapWriteAccess& r
// Read data
if
(
bNative
)
{
// true color DIB's can have a (optimization) palette
if
(
rHeader
.
nColsUsed
&&
8
<
rHeader
.
nBitCount
)
{
rIStm
.
SeekRel
(
rHeader
.
nColsUsed
*
((
rHeader
.
nSize
!=
DIBCOREHEADERSIZE
)
?
4
:
3
));
}
rIStm
.
Read
(
rAcc
.
GetBuffer
(),
rHeader
.
nHeight
*
nAlignedWidth
);
}
else
...
...
@@ -460,12 +454,6 @@ bool ImplReadDIBBits(SvStream& rIStm, DIBV5Header& rHeader, BitmapWriteAccess& r
const
long
nHeight
(
rHeader
.
nHeight
);
sal_uInt8
*
pBuf
=
new
sal_uInt8
[
nAlignedWidth
];
// true color DIB's can have a (optimization) palette
if
(
rHeader
.
nColsUsed
&&
8
<
rHeader
.
nBitCount
)
{
rIStm
.
SeekRel
(
rHeader
.
nColsUsed
*
((
rHeader
.
nSize
!=
DIBCOREHEADERSIZE
)
?
4
:
3
));
}
const
long
nI
(
bTopDown
?
1
:
-
1
);
long
nY
(
bTopDown
?
0
:
nHeight
-
1
);
long
nCount
(
nHeight
);
...
...
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