diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-12 09:31:41 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-09-12 08:53:09 +0000 |
commit | 1013587c03d168b54349b5d47c8359e97acc0ad5 (patch) | |
tree | 64c2e75aedfcdba21264983f68f55de94877f48e /rsc | |
parent | feb54746b2e3227466488f0f9be661f7df92358a (diff) |
loplugin:constantparam in package..stoc
Change-Id: I04b6d14d3dd8d55ccc4d4eb9313bc37959690672
Reviewed-on: https://gerrit.libreoffice.org/28824
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/inc/rsccont.hxx | 6 | ||||
-rw-r--r-- | rsc/source/res/rsccont.cxx | 9 |
2 files changed, 6 insertions, 9 deletions
diff --git a/rsc/inc/rsccont.hxx b/rsc/inc/rsccont.hxx index f72f1ae4643e..1d7cc5870089 100644 --- a/rsc/inc/rsccont.hxx +++ b/rsc/inc/rsccont.hxx @@ -115,8 +115,7 @@ public: class RscCont : public RscContWriteSrc { public: - RscCont( Atom nId, sal_uInt32 nTypId, - RscTop * pSuper = nullptr ); + RscCont( Atom nId, sal_uInt32 nTypId ); ERRTYPE WriteRc( const RSCINST & rInst, RscWriteRc & aMem, RscTypCont * pTC, sal_uInt32, bool bExtra ) override; }; @@ -124,8 +123,7 @@ public: class RscContExtraData : public RscContWriteSrc { public: - RscContExtraData( Atom nId, sal_uInt32 nTypId, - RscTop * pSuper = nullptr ); + RscContExtraData( Atom nId, sal_uInt32 nTypId ); ERRTYPE WriteRc( const RSCINST & rInst, RscWriteRc & aMem, RscTypCont * pTC, sal_uInt32, bool bExtra ) override; }; diff --git a/rsc/source/res/rsccont.cxx b/rsc/source/res/rsccont.cxx index c3bf6193e6fa..c6c50dd8b0e6 100644 --- a/rsc/source/res/rsccont.cxx +++ b/rsc/source/res/rsccont.cxx @@ -747,8 +747,8 @@ void RscContWriteSrc::WriteSrc( const RSCINST & rInst, FILE * fOutput, fprintf( fOutput, "}" ); } -RscCont::RscCont( Atom nId, sal_uInt32 nTypeId, RscTop * pSuper ) - : RscContWriteSrc( nId, nTypeId, pSuper ) +RscCont::RscCont( Atom nId, sal_uInt32 nTypeId ) + : RscContWriteSrc( nId, nTypeId, nullptr ) { } @@ -770,9 +770,8 @@ ERRTYPE RscCont::WriteRc( const RSCINST & rInst, RscWriteRc & rMem, return aError; } -RscContExtraData::RscContExtraData( Atom nId, sal_uInt32 nTypeId, - RscTop * pSuper ) - : RscContWriteSrc( nId, nTypeId, pSuper ) +RscContExtraData::RscContExtraData( Atom nId, sal_uInt32 nTypeId ) + : RscContWriteSrc( nId, nTypeId, nullptr ) { } |