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
152c4afe
Kaydet (Commit)
152c4afe
authored
Eki 15, 2014
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
package: ZipPackageStream: prefix members
Change-Id: I02a1c3189c6b52f4f539b0eaa8878985cae8b321
üst
3a8bddc1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
ZipPackageStream.hxx
package/inc/ZipPackageStream.hxx
+13
-13
ZipPackageStream.cxx
package/source/zippackage/ZipPackageStream.cxx
+0
-0
No files found.
package/inc/ZipPackageStream.hxx
Dosyayı görüntüle @
152c4afe
...
...
@@ -47,10 +47,10 @@ class ZipPackageStream : public cppu::ImplInheritanceHelper2
>
{
private
:
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
io
::
XInputStream
>
xStream
;
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
io
::
XInputStream
>
m_
xStream
;
const
::
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
uno
::
XComponentContext
>
m_xContext
;
ZipPackage
&
rZipPackage
;
bool
bToBeCompressed
,
bToBeEncrypted
,
bHaveOwnKey
,
bIsEncrypted
;
ZipPackage
&
m_
rZipPackage
;
bool
m_bToBeCompressed
,
m_bToBeEncrypted
,
m_bHaveOwnKey
,
m_
bIsEncrypted
;
::
rtl
::
Reference
<
BaseEncryptionData
>
m_xBaseEncryptionData
;
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
NamedValue
>
m_aStorageEncryptionKeys
;
...
...
@@ -76,10 +76,10 @@ private:
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStream
>
GetOwnSeekStream
();
public
:
bool
HasOwnKey
()
const
{
return
bHaveOwnKey
;}
bool
IsToBeCompressed
()
const
{
return
bToBeCompressed
;}
bool
IsToBeEncrypted
()
const
{
return
bToBeEncrypted
;}
bool
IsEncrypted
()
const
{
return
bIsEncrypted
;}
bool
HasOwnKey
()
const
{
return
m_
bHaveOwnKey
;}
bool
IsToBeCompressed
()
const
{
return
m_
bToBeCompressed
;}
bool
IsToBeEncrypted
()
const
{
return
m_
bToBeEncrypted
;}
bool
IsEncrypted
()
const
{
return
m_
bIsEncrypted
;}
bool
IsPackageMember
()
const
{
return
m_nStreamMode
==
PACKAGE_STREAM_PACKAGEMEMBER
;}
bool
IsFromManifest
()
const
{
return
m_bFromManifest
;
}
...
...
@@ -108,18 +108,18 @@ public:
sal_Int32
GetEncryptionAlgorithm
()
const
;
sal_Int32
GetBlockSize
()
const
;
void
SetToBeCompressed
(
bool
bNewValue
)
{
bToBeCompressed
=
bNewValue
;}
void
SetIsEncrypted
(
bool
bNewValue
)
{
bIsEncrypted
=
bNewValue
;}
void
SetToBeCompressed
(
bool
bNewValue
)
{
m_
bToBeCompressed
=
bNewValue
;}
void
SetIsEncrypted
(
bool
bNewValue
)
{
m_
bIsEncrypted
=
bNewValue
;}
void
SetImportedStartKeyAlgorithm
(
sal_Int32
nAlgorithm
)
{
m_nImportedStartKeyAlgorithm
=
nAlgorithm
;
}
void
SetImportedEncryptionAlgorithm
(
sal_Int32
nAlgorithm
)
{
m_nImportedEncryptionAlgorithm
=
nAlgorithm
;
}
void
SetImportedChecksumAlgorithm
(
sal_Int32
nAlgorithm
)
{
m_nImportedChecksumAlgorithm
=
nAlgorithm
;
}
void
SetImportedDerivedKeySize
(
sal_Int32
nSize
)
{
m_nImportedDerivedKeySize
=
nSize
;
}
void
SetToBeEncrypted
(
bool
bNewValue
)
{
bToBeEncrypted
=
bNewValue
;
if
(
bToBeEncrypted
&&
!
m_xBaseEncryptionData
.
is
())
m_
bToBeEncrypted
=
bNewValue
;
if
(
m_
bToBeEncrypted
&&
!
m_xBaseEncryptionData
.
is
())
m_xBaseEncryptionData
=
new
BaseEncryptionData
;
else
if
(
!
bToBeEncrypted
&&
m_xBaseEncryptionData
.
is
()
)
else
if
(
!
m_
bToBeEncrypted
&&
m_xBaseEncryptionData
.
is
()
)
m_xBaseEncryptionData
.
clear
();
}
void
SetPackageMember
(
bool
bNewValue
);
...
...
@@ -136,7 +136,7 @@ public:
{
m_xBaseEncryptionData
->
m_nIterationCount
=
nNewCount
;}
void
setSize
(
const
sal_Int64
nNewSize
);
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStream
>
GetOwnStreamNoWrap
()
{
return
xStream
;
}
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStream
>
GetOwnStreamNoWrap
()
{
return
m_
xStream
;
}
void
CloseOwnStreamIfAny
();
...
...
package/source/zippackage/ZipPackageStream.cxx
Dosyayı görüntüle @
152c4afe
This diff is collapsed.
Click to expand it.
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