diff options
author | Mikhail Voitenko <mav@openoffice.org> | 2002-02-27 14:51:57 +0000 |
---|---|---|
committer | Mikhail Voitenko <mav@openoffice.org> | 2002-02-27 14:51:57 +0000 |
commit | 7f4bd5e20c945ecae2cd2bc43af9cd5616e1a262 (patch) | |
tree | 994c54194740faecd4c4dbe716a6e93edf325979 /package/inc | |
parent | 0b02ac946291683a1090c2c2acddc858dc11f451 (diff) |
#97587# truncate the original file before streaming in to it
Diffstat (limited to 'package/inc')
-rw-r--r-- | package/inc/ZipPackage.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/package/inc/ZipPackage.hxx b/package/inc/ZipPackage.hxx index 0482b133e1cf..db00afe13078 100644 --- a/package/inc/ZipPackage.hxx +++ b/package/inc/ZipPackage.hxx @@ -2,9 +2,9 @@ * * $RCSfile: ZipPackage.hxx,v $ * - * $Revision: 1.30 $ + * $Revision: 1.31 $ * - * last change: $Author: mav $ $Date: 2002-02-19 17:00:52 $ + * last change: $Author: mav $ $Date: 2002-02-27 15:51:57 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -99,7 +99,7 @@ class ZipFile; class ByteGrabber; namespace com { namespace sun { namespace star { namespace container { class XNameContainer; } - namespace io { class XStream; class XOutputStream; class XInputStream; class XSeekable; } + namespace io { class XStream; class XOutputStream; class XInputStream; class XSeekable; class XActiveDataStreamer; } namespace lang { class XMultiServiceFactory; } namespace task { class XInteractionHandler; } } } } @@ -147,7 +147,8 @@ protected: ZipFile *pZipFile; void getZipFileContents(); - sal_Bool writeFileIsTemp( ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream >& ); + sal_Bool writeFileIsTemp(); + ::com::sun::star::uno::Reference < ::com::sun::star::io::XActiveDataStreamer > openOriginalForOutput(); public: ZipPackage (const ::com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory > &xNewFactory); |