diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-09 10:09:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-09 10:10:13 +0200 |
commit | 184a00b96235f6432294ded63ce4a4a318effdb5 (patch) | |
tree | e4ae0e00cb168fa43d280cfb51a50515258b5320 /include/package | |
parent | 534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff) |
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'include/package')
-rw-r--r-- | include/package/Deflater.hxx | 2 | ||||
-rw-r--r-- | include/package/Inflater.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/package/Deflater.hxx b/include/package/Deflater.hxx index 2b95782dcae1..ad73f280ceee 100644 --- a/include/package/Deflater.hxx +++ b/include/package/Deflater.hxx @@ -50,7 +50,7 @@ public: void SAL_CALL setLevel( sal_Int32 nNewLevel ); bool SAL_CALL needsInput( ); void SAL_CALL finish( ); - bool SAL_CALL finished( ); + bool SAL_CALL finished( ) { return bFinished;} 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 9c4874a1029c..db587185d849 100644 --- a/include/package/Inflater.hxx +++ b/include/package/Inflater.hxx @@ -42,8 +42,8 @@ public: Inflater(bool bNoWrap = false); ~Inflater(); void SAL_CALL setInput( const ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer ); - bool SAL_CALL needsDictionary( ); - bool SAL_CALL finished( ); + bool SAL_CALL needsDictionary( ) { return bNeedDict;} + bool SAL_CALL finished( ) { return bFinished;} sal_Int32 SAL_CALL doInflateSegment( ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength ); void SAL_CALL end( ); |