diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-04 11:57:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-05 06:40:10 +0000 |
commit | 3d6c84f2d9683b23c14fa5bf50ca4425cf4ceb04 (patch) | |
tree | bc18d71a94b1a9015d45155ad79179e61e6aa3c0 /rsc/inc | |
parent | cedbc4031f26ea13b188a4ecc5b90cc9646095fb (diff) |
loplugin:constantparam
Change-Id: I1996319e5b664dff95f7a9b2346aea6092d333ec
Reviewed-on: https://gerrit.libreoffice.org/36070
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'rsc/inc')
-rw-r--r-- | rsc/inc/rsccont.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rsc/inc/rsccont.hxx b/rsc/inc/rsccont.hxx index 89d3b7701c63..005daa44856f 100644 --- a/rsc/inc/rsccont.hxx +++ b/rsc/inc/rsccont.hxx @@ -41,7 +41,6 @@ class RscBaseCont : public RscTop { protected: RscTop * pTypeClass; // type of entries - RscTop * pTypeClass1;// two different types may exist bool bNoId; // whether there is no identifier const sal_uInt32 nOffInstData;// offset of own instance data const sal_uInt32 nSize; // size of this class and super classes instance data @@ -58,10 +57,9 @@ public: bool bNoId ); virtual ~RscBaseCont() override; virtual RSCCLASS_TYPE GetClassType() const override; - void SetTypeClass( RscTop * pClass, RscTop * pClass1 = nullptr ) + void SetTypeClass( RscTop * pClass ) { pTypeClass = pClass; - pTypeClass1 = pClass1; } RSCINST Create( RSCINST * pInst, const RSCINST & rDflt, bool bOwnClass = false ) override; void Destroy( const RSCINST & rInst ) override; |