summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-21 09:48:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-21 15:30:13 +0200
commitfaac2327e95b5ed735ddb3f5f76a583bbe504b52 (patch)
tree65573a04ead96a4af696b47a9264044f3572af29
parentd1711bb430b68e2a0ac2eb86efc998cf6a152b4a (diff)
Clean-up C-style (void) parameter lists
Change-Id: I41da8920e33dfdd0f1483ea2d7cf67111224b441
-rw-r--r--include/tools/zcodec.hxx6
-rw-r--r--tools/source/zcodec/zcodec.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/include/tools/zcodec.hxx b/include/tools/zcodec.hxx
index 361277c78d4a..8bbbcd66ddd8 100644
--- a/include/tools/zcodec.hxx
+++ b/include/tools/zcodec.hxx
@@ -71,11 +71,11 @@ private:
void* mpsC_Stream;
void ImplInitBuf( bool nIOFlag );
- void ImplWriteBack( void );
+ void ImplWriteBack();
public:
ZCodec( sal_uIntPtr nInBuf, sal_uIntPtr nOutBuf, sal_uIntPtr nMemUsage = MAX_MEM_USAGE );
- ZCodec( void );
+ ZCodec();
virtual ~ZCodec();
virtual void BeginCompression( sal_uIntPtr nCompressMethod = ZCODEC_DEFAULT );
@@ -90,7 +90,7 @@ public:
long ReadAsynchron( SvStream& rIStm, sal_uInt8* pData, sal_uIntPtr nSize );
void SetBreak( sal_uIntPtr );
- sal_uIntPtr GetBreak( void );
+ sal_uIntPtr GetBreak();
void SetCRC( sal_uIntPtr nCurrentCRC );
sal_uIntPtr UpdateCRC( sal_uIntPtr nLatestCRC, sal_uInt8* pSource, long nDatSize );
sal_uIntPtr GetCRC();
diff --git a/tools/source/zcodec/zcodec.cxx b/tools/source/zcodec/zcodec.cxx
index ed6d8e4d5a08..3fce309306f3 100644
--- a/tools/source/zcodec/zcodec.cxx
+++ b/tools/source/zcodec/zcodec.cxx
@@ -335,7 +335,7 @@ void ZCodec::SetBreak( sal_uIntPtr nInToRead )
mnInToRead = nInToRead;
}
-sal_uIntPtr ZCodec::GetBreak( void )
+sal_uIntPtr ZCodec::GetBreak()
{
return ( mnInToRead + PZSTREAM->avail_in );
}