diff options
author | Martin Gallwey <mtg@openoffice.org> | 2001-03-16 16:11:42 +0000 |
---|---|---|
committer | Martin Gallwey <mtg@openoffice.org> | 2001-03-16 16:11:42 +0000 |
commit | 19e677a2e8a4d6abc85773c5a7072e5216307a46 (patch) | |
tree | 5f4948a51e9adca78a2f39656b431191055435d9 /package/inc/ZipFile.hxx | |
parent | 694a3e11e452e71a0d9d73cf08fa7bc97edc8a61 (diff) |
comply with MI's required change for package->packages, as package is a reserved word in Java
Diffstat (limited to 'package/inc/ZipFile.hxx')
-rw-r--r-- | package/inc/ZipFile.hxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/package/inc/ZipFile.hxx b/package/inc/ZipFile.hxx index 4a6af67d9021..06e24929368a 100644 --- a/package/inc/ZipFile.hxx +++ b/package/inc/ZipFile.hxx @@ -2,9 +2,9 @@ * * $RCSfile: ZipFile.hxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: mtg $ $Date: 2001-03-07 19:24:14 $ + * last change: $Author: mtg $ $Date: 2001-03-16 17:11:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -66,7 +66,7 @@ #endif #ifndef _COM_SUN_STAR_PACKAGE_XZIPFILE_HPP_ -#include <com/sun/star/package/XZipFile.hpp> +#include <com/sun/star/packages/XZipFile.hpp> #endif #ifndef _ENTRY_INPUT_STREAM_HXX @@ -96,7 +96,7 @@ #endif #ifndef _COM_SUN_STAR_PACKAGE_ZIPCONSTANTS_HPP_ -#include <com/sun/star/package/ZipConstants.hpp> +#include <com/sun/star/packages/ZipConstants.hpp> #endif /* @@ -107,7 +107,7 @@ #define ZIP_MAXENTRIES (0x10000 - 2) class ZipFile : public cppu::WeakImplHelper1< - com::sun::star::package::XZipFile> + com::sun::star::packages::XZipFile> { private: ::rtl::OUString sName; /* zip file name */ @@ -118,14 +118,14 @@ private: com::sun::star::uno::Reference < com::sun::star::io::XInputStream > xStream; public: ZipFile( com::sun::star::uno::Reference < com::sun::star::io::XInputStream > &xInput, sal_Bool bInitialise) - throw(::com::sun::star::io::IOException, com::sun::star::package::ZipException, com::sun::star::uno::RuntimeException); + throw(::com::sun::star::io::IOException, com::sun::star::packages::ZipException, com::sun::star::uno::RuntimeException); void updateFromManList(std::vector < ManifestEntry * > &rManList); void setInputStream ( com::sun::star::uno::Reference < com::sun::star::io::XInputStream > xNewStream ); - sal_uInt32 SAL_CALL getHeader(const ::com::sun::star::package::ZipEntry& rEntry) - throw(::com::sun::star::io::IOException, ::com::sun::star::package::ZipException, ::com::sun::star::uno::RuntimeException); + sal_uInt32 SAL_CALL getHeader(const ::com::sun::star::packages::ZipEntry& rEntry) + throw(::com::sun::star::io::IOException, ::com::sun::star::packages::ZipException, ::com::sun::star::uno::RuntimeException); virtual ~ZipFile(); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getRawStream( const ::com::sun::star::package::ZipEntry& rEntry ) - throw(::com::sun::star::io::IOException, ::com::sun::star::package::ZipException, ::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getRawStream( const ::com::sun::star::packages::ZipEntry& rEntry ) + throw(::com::sun::star::io::IOException, ::com::sun::star::packages::ZipException, ::com::sun::star::uno::RuntimeException); // XElementAccess virtual ::com::sun::star::uno::Type SAL_CALL getElementType( ) @@ -133,8 +133,8 @@ public: virtual sal_Bool SAL_CALL hasElements( ) throw(::com::sun::star::uno::RuntimeException); // XZipFile - virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getInputStream( const ::com::sun::star::package::ZipEntry& rEntry ) - throw(::com::sun::star::io::IOException, ::com::sun::star::package::ZipException, ::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getInputStream( const ::com::sun::star::packages::ZipEntry& rEntry ) + throw(::com::sun::star::io::IOException, ::com::sun::star::packages::ZipException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getName( ) throw(::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getSize( ) @@ -155,12 +155,12 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL entries( ) throw(::com::sun::star::uno::RuntimeException); private: - sal_Bool readLOC(const com::sun::star::package::ZipEntry &rEntry) - throw(::com::sun::star::io::IOException, com::sun::star::package::ZipException, com::sun::star::uno::RuntimeException); + sal_Bool readLOC(const com::sun::star::packages::ZipEntry &rEntry) + throw(::com::sun::star::io::IOException, com::sun::star::packages::ZipException, com::sun::star::uno::RuntimeException); sal_Int32 readCEN() - throw(::com::sun::star::io::IOException, com::sun::star::package::ZipException, com::sun::star::uno::RuntimeException); + throw(::com::sun::star::io::IOException, com::sun::star::packages::ZipException, com::sun::star::uno::RuntimeException); sal_Int32 findEND() - throw(::com::sun::star::io::IOException, com::sun::star::package::ZipException, com::sun::star::uno::RuntimeException); + throw(::com::sun::star::io::IOException, com::sun::star::packages::ZipException, com::sun::star::uno::RuntimeException); }; #if 0 |