There is no XZipOutputEntry interface
Change-Id: Ib8fa3351ba25416a13d6c8bf63bd5fc8e43703c5
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
#ifndef INCLUDED_PACKAGE_INC_ZIPOUTPUTENTRY_HXX
|
||||
#define INCLUDED_PACKAGE_INC_ZIPOUTPUTENTRY_HXX
|
||||
|
||||
#include <com/sun/star/io/IOException.hpp>
|
||||
#include <com/sun/star/uno/Reference.hxx>
|
||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||
#include <com/sun/star/xml/crypto/XCipherContext.hpp>
|
||||
@@ -56,11 +55,8 @@ public:
|
||||
|
||||
css::uno::Sequence< sal_Int8 > getData();
|
||||
|
||||
// XZipOutputEntry interfaces
|
||||
void SAL_CALL closeEntry( )
|
||||
throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
|
||||
void SAL_CALL write( const ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength )
|
||||
throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
|
||||
void closeEntry();
|
||||
void write(const css::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength);
|
||||
|
||||
private:
|
||||
void doDeflate();
|
||||
|
@@ -68,8 +68,7 @@ uno::Sequence< sal_Int8 > ZipOutputEntry::getData()
|
||||
return m_pBuffer->getSequence();
|
||||
}
|
||||
|
||||
void SAL_CALL ZipOutputEntry::closeEntry()
|
||||
throw(IOException, RuntimeException)
|
||||
void ZipOutputEntry::closeEntry()
|
||||
{
|
||||
m_aDeflater.finish();
|
||||
while (!m_aDeflater.finished())
|
||||
@@ -120,8 +119,7 @@ void SAL_CALL ZipOutputEntry::closeEntry()
|
||||
}
|
||||
}
|
||||
|
||||
void SAL_CALL ZipOutputEntry::write( const Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength )
|
||||
throw(IOException, RuntimeException)
|
||||
void ZipOutputEntry::write( const Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength )
|
||||
{
|
||||
if (!m_aDeflater.finished())
|
||||
{
|
||||
|
Reference in New Issue
Block a user