diff options
Diffstat (limited to 'package/inc/Inflater.hxx')
-rw-r--r-- | package/inc/Inflater.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/inc/Inflater.hxx b/package/inc/Inflater.hxx index 7520ba672058..7805a9cc84bb 100644 --- a/package/inc/Inflater.hxx +++ b/package/inc/Inflater.hxx @@ -40,7 +40,7 @@ class Inflater { protected: sal_Bool bFinish, bFinished, bSetParams, bNeedDict; - sal_Int32 nOffset, nLength; + sal_Int32 nOffset, nLength, nLastInflateError; z_stream* pStream; com::sun::star::uno::Sequence < sal_Int8 > sInBuffer; sal_Int32 doInflateBytes (com::sun::star::uno::Sequence < sal_Int8 > &rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength); @@ -53,6 +53,8 @@ public: sal_Bool SAL_CALL finished( ); sal_Int32 SAL_CALL doInflateSegment( ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength ); void SAL_CALL end( ); + + sal_Int32 getLastInflateError() { return nLastInflateError; } }; #endif |