summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-01 16:06:38 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-04 12:15:42 +0000
commit1e55aad7990a47a7d4353ec3365ca46b6c54a10c (patch)
treec630ad3242e04181000989d0b4f65e1f3e490d20 /svl
parent17b1852133427e6c0b4266ccb63e24980aff94f0 (diff)
loplugin:constantparam in svl
Change-Id: I6c336034a12fda493825b4a8388d3bde6bead910 Reviewed-on: https://gerrit.libreoffice.org/23729 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/filerec/filerec.cxx5
-rw-r--r--svl/source/items/imageitm.cxx4
-rw-r--r--svl/source/numbers/zformat.cxx5
3 files changed, 6 insertions, 8 deletions
diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx
index e1f9db79dbb7..4556d2c4c14e 100644
--- a/svl/source/filerec/filerec.cxx
+++ b/svl/source/filerec/filerec.cxx
@@ -339,9 +339,8 @@ sal_uInt32 SfxMultiFixRecordWriter::Close()
*/
SfxMultiVarRecordWriter::SfxMultiVarRecordWriter(sal_uInt8 nRecordType,
SvStream* pStream,
- sal_uInt16 nRecordTag,
- sal_uInt8 nRecordVer)
-: SfxMultiFixRecordWriter( nRecordType, pStream, nRecordTag, nRecordVer ),
+ sal_uInt16 nRecordTag)
+: SfxMultiFixRecordWriter( nRecordType, pStream, nRecordTag, 0 ),
_nContentVer( 0 )
{
}
diff --git a/svl/source/items/imageitm.cxx b/svl/source/items/imageitm.cxx
index e956460f9641..9d07db34a576 100644
--- a/svl/source/items/imageitm.cxx
+++ b/svl/source/items/imageitm.cxx
@@ -34,8 +34,8 @@ struct SfxImageItem_Impl
};
-SfxImageItem::SfxImageItem( sal_uInt16 which, sal_uInt16 nImage )
- : SfxInt16Item( which, nImage )
+SfxImageItem::SfxImageItem( sal_uInt16 which )
+ : SfxInt16Item( which, 0 )
{
pImp = new SfxImageItem_Impl;
pImp->nAngle = 0;
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 99b086bd4d59..8238315111c2 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -591,8 +591,7 @@ SvNumberformat::SvNumberformat(OUString& rString,
ImpSvNumberformatScan* pSc,
ImpSvNumberInputScan* pISc,
sal_Int32& nCheckPos,
- LanguageType& eLan,
- bool bStan)
+ LanguageType& eLan)
: rScan(*pSc)
, bAdditionalBuiltin( false )
, bStarFlag( false )
@@ -623,7 +622,7 @@ SvNumberformat::SvNumberformat(OUString& rString,
{
maLocale.meLanguage = eLan;
}
- bStandard = bStan;
+ bStandard = false;
bIsUsed = false;
fLimit1 = 0.0;
fLimit2 = 0.0;