summaryrefslogtreecommitdiff
path: root/include/tools/zcodec.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-15 12:00:55 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-01-15 12:39:46 +0000
commite15a997b153551a4c0e91964b5cff1b6269a9790 (patch)
tree93208827148e6df46ff6d24048ba92745124050d /include/tools/zcodec.hxx
parent9f62954369a5d77f976f616623495ad27be6b099 (diff)
loplugin:unusedmethods unused return value in include/tools
Change-Id: I77a6a46ca20cb41ed73050185fb2064a1bbf2009 Reviewed-on: https://gerrit.libreoffice.org/21485 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/tools/zcodec.hxx')
-rw-r--r--include/tools/zcodec.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tools/zcodec.hxx b/include/tools/zcodec.hxx
index ac389ae12f2b..d84b66a8cb61 100644
--- a/include/tools/zcodec.hxx
+++ b/include/tools/zcodec.hxx
@@ -65,11 +65,11 @@ public:
void BeginCompression( int nCompressLevel = ZCODEC_DEFAULT_COMPRESSION, bool updateCrc = false, bool gzLib = false );
long EndCompression();
- long Compress( SvStream& rIStm, SvStream& rOStm );
+ void Compress( SvStream& rIStm, SvStream& rOStm );
long Decompress( SvStream& rIStm, SvStream& rOStm );
bool AttemptDecompression( SvStream& rIStm, SvStream& rOStm, bool updateCrc = false, bool gzLib = false );
- long Write( SvStream& rOStm, const sal_uInt8* pData, sal_uIntPtr nSize );
+ void Write( SvStream& rOStm, const sal_uInt8* pData, sal_uIntPtr nSize );
long Read( SvStream& rIStm, sal_uInt8* pData, sal_uIntPtr nSize );
long ReadAsynchron( SvStream& rIStm, sal_uInt8* pData, sal_uIntPtr nSize );