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. --- fileaccess/source/FileAccess.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fileaccess') diff --git a/fileaccess/source/FileAccess.cxx b/fileaccess/source/FileAccess.cxx index 72e964f9f94f..478a340bf823 100644 --- a/fileaccess/source/FileAccess.cxx +++ b/fileaccess/source/FileAccess.cxx @@ -452,7 +452,7 @@ sal_Int32 OFileAccess::getSize( const rtl::OUString& FileURL ) sal_Int64 nTemp = 0; INetURLObject aObj( FileURL, INET_PROT_FILE ); ucbhelper::Content aCnt( aObj.GetMainURL( INetURLObject::NO_DECODE ), mxEnvironment, comphelper::getProcessComponentContext() ); - aCnt.getPropertyValue( rtl::OUString("Size" ) ) >>= nTemp; + aCnt.getPropertyValue( "Size" ) >>= nTemp; nSize = (sal_Int32)nTemp; return nSize; } -- cgit