diff options
Diffstat (limited to 'package/inc/ZipFile.hxx')
-rw-r--r-- | package/inc/ZipFile.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/inc/ZipFile.hxx b/package/inc/ZipFile.hxx index c32d58209e0b..3d6b27b882d5 100644 --- a/package/inc/ZipFile.hxx +++ b/package/inc/ZipFile.hxx @@ -64,9 +64,10 @@ protected: const css::uno::Reference < css::uno::XComponentContext > m_xContext; bool bRecoveryMode; + bool mbUseBufferedStream; // aMediaType parameter is used only for raw stream header creation - css::uno::Reference < css::io::XInputStream > createUnbufferedStream( + css::uno::Reference < css::io::XInputStream > createStreamForZipEntry( const rtl::Reference<SotMutexHolder>& aMutexHolder, ZipEntry & rEntry, const ::rtl::Reference < EncryptionData > &rData, @@ -101,6 +102,8 @@ public: EntryHash& GetEntryHash() { return aEntries; } + void setUseBufferedStream( bool b ); + void setInputStream ( const css::uno::Reference < css::io::XInputStream >& xNewStream ); css::uno::Reference< css::io::XInputStream > SAL_CALL getRawData( ZipEntry& rEntry, |