From 9b0198b2442bc749491d0f1e5e2c811346e5d568 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Fri, 21 Sep 2012 13:09:29 +0100 Subject: 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. --- package/source/manifest/ManifestImport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/source/manifest') diff --git a/package/source/manifest/ManifestImport.cxx b/package/source/manifest/ManifestImport.cxx index 7e68f6cc4a9e..10270683cf59 100644 --- a/package/source/manifest/ManifestImport.cxx +++ b/package/source/manifest/ManifestImport.cxx @@ -133,7 +133,7 @@ void ManifestImport::doFileEntry(StringHashMap &rConvertedAttribs) OUString sSize = rConvertedAttribs[sSizeAttribute]; if ( sSize.getLength() ) { - sal_Int32 nSize = sSize.toInt32(); + sal_Int64 nSize = sSize.toInt64(); aSequence[PKG_MNFST_UCOMPSIZE].Name = sSizeProperty; aSequence[PKG_MNFST_UCOMPSIZE].Value <<= nSize; } -- cgit