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
aacaacc1
Kaydet (Commit)
aacaacc1
authored
Mar 01, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ofz: Z_NEED_DICT is unsupported
Change-Id: Ib0945d5a4606915aff9ee3019203caaf2a3cc7c5
üst
c7008197
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
zcodec.cxx
tools/source/zcodec/zcodec.cxx
+1
-1
nodict-compress.bmp
...a/cppunit/graphicfilter/data/bmp/fail/nodict-compress.bmp
+0
-0
dibtools.cxx
vcl/source/gdi/dibtools.cxx
+3
-2
No files found.
tools/source/zcodec/zcodec.cxx
Dosyayı görüntüle @
aacaacc1
...
...
@@ -222,7 +222,7 @@ long ZCodec::Read( SvStream& rIStm, sal_uInt8* pData, sal_uInt32 nSize )
}
err
=
mbStatus
?
inflate
(
PZSTREAM
,
Z_NO_FLUSH
)
:
Z_ERRNO
;
if
(
err
<
0
)
if
(
err
<
0
||
err
==
Z_NEED_DICT
)
{
// Accept Z_BUF_ERROR as EAGAIN or EWOULDBLOCK.
mbStatus
=
(
err
==
Z_BUF_ERROR
);
...
...
vcl/qa/cppunit/graphicfilter/data/bmp/fail/nodict-compress.bmp
0 → 100644
Dosyayı görüntüle @
aacaacc1
110 Bytes
vcl/source/gdi/dibtools.cxx
Dosyayı görüntüle @
aacaacc1
...
...
@@ -841,7 +841,8 @@ bool ImplReadDIBBody( SvStream& rIStm, Bitmap& rBmp, AlphaMask* pBmpAlpha, sal_u
// Seek behind the encoded block. There might have been bytes left or the codec might have read more than necessary.
rIStm
.
Seek
(
nCodedSize
+
nCodedPos
);
}
else
if
(
aData
.
empty
())
{
// add something so we can take address of the first element
aData
.
resize
(
1
);
...
...
@@ -850,7 +851,7 @@ bool ImplReadDIBBody( SvStream& rIStm, Bitmap& rBmp, AlphaMask* pBmpAlpha, sal_u
// set decoded bytes to memory stream,
// from which we will read the bitmap data
pMemStm
.
reset
(
new
SvMemoryStream
);
pMemStm
.
reset
(
new
SvMemoryStream
);
pIStm
=
pMemStm
.
get
();
assert
(
!
aData
.
empty
());
pMemStm
->
SetBuffer
(
aData
.
data
(),
nUncodedSize
,
nUncodedSize
);
...
...
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