diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-29 12:43:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-30 06:57:26 +0000 |
commit | 4d87443bf59c3242d58b56cc1583d73213ae1f2f (patch) | |
tree | c1f74fc569506299100b5063f14c09e46035a943 /svl | |
parent | 8e812b87ff7f8c5bf2c6f8858646c55effd2eea3 (diff) |
loplugin:constantparam
Change-Id: Idbe8c8e6b3d44cacce296ec8c79b2b244281057c
Reviewed-on: https://gerrit.libreoffice.org/29321
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/filerec/filerec.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx index 1ee180425748..b52a935e462e 100644 --- a/svl/source/filerec/filerec.cxx +++ b/svl/source/filerec/filerec.cxx @@ -287,15 +287,13 @@ bool SfxSingleRecordReader::FindHeader_Impl(sal_uInt16 nTypes, sal_uInt16 nTag) * @param nRecordType sub class record type * @param pStream Stream to write the record to * @param nContentTag Content type - * @param nContentVer Content version * * Internal method for sub classes */ SfxMultiFixRecordWriter::SfxMultiFixRecordWriter(sal_uInt8 nRecordType, SvStream* pStream, - sal_uInt16 nContentTag, - sal_uInt8 nContentVer) - : SfxSingleRecordWriter( nRecordType, pStream, nContentTag, nContentVer ) + sal_uInt16 nContentTag) + : SfxSingleRecordWriter( nRecordType, pStream, nContentTag, 0 ) , _nContentStartPos(0) , _nContentCount(0) { @@ -339,7 +337,7 @@ sal_uInt32 SfxMultiFixRecordWriter::Close() SfxMultiVarRecordWriter::SfxMultiVarRecordWriter(sal_uInt8 nRecordType, SvStream* pStream, sal_uInt16 nRecordTag) -: SfxMultiFixRecordWriter( nRecordType, pStream, nRecordTag, 0 ), +: SfxMultiFixRecordWriter( nRecordType, pStream, nRecordTag ), _nContentVer( 0 ) { } @@ -361,8 +359,7 @@ SfxMultiVarRecordWriter::SfxMultiVarRecordWriter(sal_uInt8 nRecordType, */ SfxMultiVarRecordWriter::SfxMultiVarRecordWriter(SvStream* pStream, sal_uInt16 nRecordTag) -: SfxMultiFixRecordWriter( SFX_REC_TYPE_VARSIZE, - pStream, nRecordTag, 0 ), +: SfxMultiFixRecordWriter( SFX_REC_TYPE_VARSIZE, pStream, nRecordTag ), _nContentVer( 0 ) { } |