summaryrefslogtreecommitdiff
path: root/package/inc/ZipPackageStream.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-09-21 13:09:29 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-09-21 15:37:17 +0100
commit9b0198b2442bc749491d0f1e5e2c811346e5d568 (patch)
tree6af3f097947c8d5a4ebf5fd5599d1fe1fcc9e96c /package/inc/ZipPackageStream.hxx
parentb3603e0e0e5dbfbeaa2426c499e8f64be2d15765 (diff)
package: convert internal ZIP handling data-types to 64bit
Prepare for a ZIP64 implementation. Audit all "Size" property fetches through Anys. Audit all uses of nSize, nCompressedSize, nOffset through the code. Add FIXME64: comments to all points requiring future work.
Diffstat (limited to 'package/inc/ZipPackageStream.hxx')
-rw-r--r--package/inc/ZipPackageStream.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/inc/ZipPackageStream.hxx b/package/inc/ZipPackageStream.hxx
index b7e528661eb8..a9943c19a7e0 100644
--- a/package/inc/ZipPackageStream.hxx
+++ b/package/inc/ZipPackageStream.hxx
@@ -98,7 +98,7 @@ public:
{ return m_xBaseEncryptionData->m_aSalt;}
sal_Int32 getIterationCount () const
{ return m_xBaseEncryptionData->m_nIterationCount;}
- sal_Int32 getSize () const
+ sal_Int64 getSize () const
{ return aEntry.nSize;}
sal_uInt8 GetStreamMode() const { return m_nStreamMode; }
@@ -133,7 +133,7 @@ public:
{ m_xBaseEncryptionData->m_aDigest = rNewDigest;}
void setIterationCount (const sal_Int32 nNewCount)
{ m_xBaseEncryptionData->m_nIterationCount = nNewCount;}
- void setSize (const sal_Int32 nNewSize);
+ void setSize (const sal_Int64 nNewSize);
::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > GetOwnStreamNoWrap() { return xStream; }