summaryrefslogtreecommitdiff
path: root/include/package
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-01 12:47:35 +0200
committerNoel Grandin <noel@peralex.com>2014-04-03 09:17:50 +0200
commit6f7ca495912573f9c366c96635c3fa11c647c97b (patch)
tree215fe1bf053ed4f531bda14bce49b1c79f28b0e0 /include/package
parent2cf50102a057e97b2a89a673b6378177714c9ed5 (diff)
package: sal_Bool->bool
Change-Id: I66999e5d9f827650f4c1bccb14178f8fa8a57cbf
Diffstat (limited to 'include/package')
-rw-r--r--include/package/Deflater.hxx14
-rw-r--r--include/package/Inflater.hxx8
2 files changed, 11 insertions, 11 deletions
diff --git a/include/package/Deflater.hxx b/include/package/Deflater.hxx
index 4f700543c06a..2b95782dcae1 100644
--- a/include/package/Deflater.hxx
+++ b/include/package/Deflater.hxx
@@ -33,24 +33,24 @@ class DLLPUBLIC_PACKAGE Deflater
protected:
com::sun::star::uno::Sequence< sal_Int8 > sInBuffer;
- sal_Bool bFinish;
- sal_Bool bFinished;
- sal_Bool bSetParams;
+ bool bFinish;
+ bool bFinished;
+ bool bSetParams;
sal_Int32 nLevel, nStrategy;
sal_Int64 nOffset, nLength;
z_stream* pStream;
- void init (sal_Int32 nLevel, sal_Int32 nStrategy, sal_Bool bNowrap);
+ void init (sal_Int32 nLevel, sal_Int32 nStrategy, bool bNowrap);
sal_Int32 doDeflateBytes (com::sun::star::uno::Sequence < sal_Int8 > &rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength);
public:
~Deflater();
- Deflater(sal_Int32 nSetLevel, sal_Bool bNowrap);
+ Deflater(sal_Int32 nSetLevel, bool bNowrap);
void SAL_CALL setInputSegment( const ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength );
void SAL_CALL setLevel( sal_Int32 nNewLevel );
- sal_Bool SAL_CALL needsInput( );
+ bool SAL_CALL needsInput( );
void SAL_CALL finish( );
- sal_Bool SAL_CALL finished( );
+ bool SAL_CALL finished( );
sal_Int32 SAL_CALL doDeflateSegment( ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength );
sal_Int64 SAL_CALL getTotalIn( );
sal_Int64 SAL_CALL getTotalOut( );
diff --git a/include/package/Inflater.hxx b/include/package/Inflater.hxx
index 9f54b49b6c16..9c4874a1029c 100644
--- a/include/package/Inflater.hxx
+++ b/include/package/Inflater.hxx
@@ -32,18 +32,18 @@ class DLLPUBLIC_PACKAGE Inflater
typedef struct z_stream_s z_stream;
protected:
- sal_Bool bFinished, bSetParams, bNeedDict;
+ bool bFinished, bSetParams, bNeedDict;
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);
public:
- Inflater(sal_Bool bNoWrap = sal_False);
+ Inflater(bool bNoWrap = false);
~Inflater();
void SAL_CALL setInput( const ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer );
- sal_Bool SAL_CALL needsDictionary( );
- sal_Bool SAL_CALL finished( );
+ bool SAL_CALL needsDictionary( );
+ 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( );