diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-10-21 09:29:19 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-11-17 10:49:22 +0100 |
commit | ef8e7eabe1e53a99bbfeac0297faa9592cd18175 (patch) | |
tree | bd99b21fa559b21699528a3943218e67bb794cf9 /package | |
parent | 3e3b8483d7866e96bc75ddda283416c6829714af (diff) |
There is no XZipOutputEntry interface
Change-Id: Ib8fa3351ba25416a13d6c8bf63bd5fc8e43703c5
Diffstat (limited to 'package')
-rw-r--r-- | package/inc/ZipOutputEntry.hxx | 8 | ||||
-rw-r--r-- | package/source/zipapi/ZipOutputEntry.cxx | 6 |
2 files changed, 4 insertions, 10 deletions
diff --git a/package/inc/ZipOutputEntry.hxx b/package/inc/ZipOutputEntry.hxx index e04cebf7d23b..c24d5a905bfe 100644 --- a/package/inc/ZipOutputEntry.hxx +++ b/package/inc/ZipOutputEntry.hxx @@ -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(); diff --git a/package/source/zipapi/ZipOutputEntry.cxx b/package/source/zipapi/ZipOutputEntry.cxx index bcbb6ebe6d9b..f43b5c7e843e 100644 --- a/package/source/zipapi/ZipOutputEntry.cxx +++ b/package/source/zipapi/ZipOutputEntry.cxx @@ -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()) { |