There is no XZipOutputEntry interface

Change-Id: Ib8fa3351ba25416a13d6c8bf63bd5fc8e43703c5
This commit is contained in:
Matúš Kukan
2014-10-21 09:29:19 +02:00
parent 3e3b8483d7
commit ef8e7eabe1
2 changed files with 4 additions and 10 deletions

View File

@@ -19,7 +19,6 @@
#ifndef INCLUDED_PACKAGE_INC_ZIPOUTPUTENTRY_HXX #ifndef INCLUDED_PACKAGE_INC_ZIPOUTPUTENTRY_HXX
#define 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/Reference.hxx>
#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/xml/crypto/XCipherContext.hpp> #include <com/sun/star/xml/crypto/XCipherContext.hpp>
@@ -56,11 +55,8 @@ public:
css::uno::Sequence< sal_Int8 > getData(); css::uno::Sequence< sal_Int8 > getData();
// XZipOutputEntry interfaces void closeEntry();
void SAL_CALL closeEntry( ) void write(const css::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength);
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);
private: private:
void doDeflate(); void doDeflate();

View File

@@ -68,8 +68,7 @@ uno::Sequence< sal_Int8 > ZipOutputEntry::getData()
return m_pBuffer->getSequence(); return m_pBuffer->getSequence();
} }
void SAL_CALL ZipOutputEntry::closeEntry() void ZipOutputEntry::closeEntry()
throw(IOException, RuntimeException)
{ {
m_aDeflater.finish(); m_aDeflater.finish();
while (!m_aDeflater.finished()) 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 ) void ZipOutputEntry::write( const Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength )
throw(IOException, RuntimeException)
{ {
if (!m_aDeflater.finished()) if (!m_aDeflater.finished())
{ {