diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-15 09:46:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-15 08:40:44 +0000 |
commit | 47f323d04ca6174f6d9c20061d84d7a7d727cd61 (patch) | |
tree | 3f2e1e5a5141ea849b173b7e53658755c71ce96c /rsc | |
parent | c37b72c182894a481819b44b9a2dc9049dce2c61 (diff) |
loplugin:constantparam
Change-Id: I1a6e13584ca516f44195e724b39e78360a842c7c
Reviewed-on: https://gerrit.libreoffice.org/30859
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/inc/rsccont.hxx | 1 | ||||
-rw-r--r-- | rsc/source/parser/rscicpx.cxx | 2 | ||||
-rw-r--r-- | rsc/source/res/rsccont.cxx | 6 |
3 files changed, 4 insertions, 5 deletions
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 ) { } |