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
e05a2002
Kaydet (Commit)
e05a2002
authored
May 21, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove unnecessary ZCODEC_DEFAULT macro
Change-Id: I57a5a14a51c0441e0fed006457ac95057f188462
üst
201d429a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
zcodec.hxx
include/tools/zcodec.hxx
+2
-3
ppdparser.cxx
vcl/unx/generic/printer/ppdparser.cxx
+1
-1
No files found.
include/tools/zcodec.hxx
Dosyayı görüntüle @
e05a2002
...
...
@@ -31,7 +31,6 @@
#define ZCODEC_GZ_LIB (0x00020000UL)
#define ZCODEC_PNG_DEFAULT ( ZCODEC_NO_COMPRESSION | ZCODEC_UPDATE_CRC )
#define ZCODEC_DEFAULT ( ZCODEC_DEFAULT_COMPRESSION )
class
SvStream
;
...
...
@@ -60,7 +59,7 @@ public:
ZCodec
(
sal_uIntPtr
nInBuf
=
0x8000UL
,
sal_uIntPtr
nOutBuf
=
0x8000UL
);
virtual
~
ZCodec
();
virtual
void
BeginCompression
(
sal_uIntPtr
nCompressMethod
=
ZCODEC_DEFAULT
);
virtual
void
BeginCompression
(
sal_uIntPtr
nCompressMethod
=
ZCODEC_DEFAULT
_COMPRESSION
);
virtual
long
EndCompression
();
bool
IsFinished
()
const
{
return
mbFinish
;
}
...
...
@@ -83,7 +82,7 @@ class GZCodec : public ZCodec
public
:
GZCodec
(){};
virtual
~
GZCodec
(){};
virtual
void
BeginCompression
(
sal_uIntPtr
nCompressMethod
=
ZCODEC_DEFAULT
)
SAL_OVERRIDE
virtual
void
BeginCompression
(
sal_uIntPtr
nCompressMethod
=
ZCODEC_DEFAULT
_COMPRESSION
)
SAL_OVERRIDE
{
ZCodec
::
BeginCompression
(
nCompressMethod
|
ZCODEC_GZ_LIB
);
};
...
...
vcl/unx/generic/printer/ppdparser.cxx
Dosyayı görüntüle @
e05a2002
...
...
@@ -320,7 +320,7 @@ void PPDDecompressStream::Open( const OUString& i_rFile )
if
(
aLine
.
getLength
()
>
1
&&
static_cast
<
unsigned
char
>
(
aLine
[
0
])
==
0x1f
)
{
if
(
static_cast
<
unsigned
char
>
(
aLine
[
1
])
==
0x8b
)
// check for gzip
nCompressMethod
=
ZCODEC_DEFAULT
|
ZCODEC_GZ_LIB
;
nCompressMethod
=
ZCODEC_DEFAULT
_COMPRESSION
|
ZCODEC_GZ_LIB
;
}
if
(
nCompressMethod
!=
0
)
...
...
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