From 47f323d04ca6174f6d9c20061d84d7a7d727cd61 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 15 Nov 2016 09:46:46 +0200 Subject: loplugin:constantparam Change-Id: I1a6e13584ca516f44195e724b39e78360a842c7c Reviewed-on: https://gerrit.libreoffice.org/30859 Tested-by: Jenkins Reviewed-by: Noel Grandin --- rsc/inc/rsccont.hxx | 1 - rsc/source/parser/rscicpx.cxx | 2 +- rsc/source/res/rsccont.cxx | 6 +++--- 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'rsc') diff --git a/rsc/inc/rsccont.hxx b/rsc/inc/rsccont.hxx index 07f29fd9b5d1..69a66f74848f 100644 --- a/rsc/inc/rsccont.hxx +++ b/rsc/inc/rsccont.hxx @@ -55,7 +55,6 @@ protected: RscTypCont * pTC, sal_uInt32, bool bExtra ); public: RscBaseCont( Atom nId, sal_uInt32 nTypId, - RscTop * pSuper, bool bNoId ); virtual ~RscBaseCont() override; virtual RSCCLASS_TYPE GetClassType() const override; diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index 857d4aa61291..9927113a0b67 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -39,7 +39,7 @@ RscTop * RscTypCont::InitClassMgr() RscBaseCont * pClass; Atom nId; - aBaseLst.push_back( pClass = new RscBaseCont( InvalidAtom, RSC_NOTYPE, nullptr, false ) ); + aBaseLst.push_back( pClass = new RscBaseCont( InvalidAtom, RSC_NOTYPE, false ) ); nId = pHS->getID( "Resource" ); pClassMgr = new RscMgr( nId, RSC_RESOURCE, pClass ); diff --git a/rsc/source/res/rsccont.cxx b/rsc/source/res/rsccont.cxx index 1f4ce70df5d0..2ffa8d3d83e9 100644 --- a/rsc/source/res/rsccont.cxx +++ b/rsc/source/res/rsccont.cxx @@ -35,9 +35,9 @@ void ENTRY_STRUCT::Destroy() } } -RscBaseCont::RscBaseCont( Atom nId, sal_uInt32 nTypeId, RscTop * pSuper, +RscBaseCont::RscBaseCont( Atom nId, sal_uInt32 nTypeId, bool bNoIdent ) - : RscTop(nId, nTypeId, pSuper) + : RscTop(nId, nTypeId, nullptr) , pTypeClass(nullptr), pTypeClass1(nullptr) , bNoId(bNoIdent), nOffInstData(RscTop::Size()) , nSize(nOffInstData + ALIGNED_SIZE(sizeof(RscBaseContInst))) @@ -720,7 +720,7 @@ ERRTYPE RscBaseCont::WriteRc( const RSCINST & rInst, RscWriteRc & rMem, } RscContWriteSrc::RscContWriteSrc( Atom nId, sal_uInt32 nTypeId ) - : RscBaseCont( nId, nTypeId, nullptr, true ) + : RscBaseCont( nId, nTypeId, true ) { } -- cgit