From de05a247d864fc65ed94bdec30602eae1d0bb430 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Thu, 30 Jul 2009 10:52:48 +0000
Subject: CWS-TOOLING: integrate CWS fwk114 2009-07-08 Mikhail Voytenko
#i102448# fix typo 2009-07-08 Mikhail Voytenko #i102448# detect the document
of new format correctly 2009-07-03 Mikhail Voytenko #i101418# adjust header
2009-07-02 Mikhail Voytenko #i103001# Integrate the patch 2009-07-01 Mikhail
Voytenko rebase to DEV300_m51 2009-06-25 Mikhail Voytenko #i71512# integrate
the patch 2009-06-19 Mikhail Voytenko #i102931# check whether the file was
changed even in case of system file locking 2009-06-10 Mikhail Voytenko
#i102448# allow to turn the office update dialog off 2009-06-10 Mikhail
Voytenko #i102448# allow to turn the office update dialog off 2009-06-09
Mikhail Voytenko #i96091# the disposed frame should throw DisposedException
2009-06-09 Mikhail Voytenko #i100835# commit the patch 2009-05-26 Mikhail
Voytenko #i89514# integrate the patch 2009-05-26 Mikhail Voytenko #i30373#
integrate the patch 2009-05-26 Mikhail Voytenko #i101418# fix the error
handling
---
package/inc/Inflater.hxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'package/inc')
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
--
cgit