diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-05 08:03:35 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-05 11:29:54 +0000 |
commit | 9866efe3e5a670bab54d931be31e1989aeb382a7 (patch) | |
tree | 64b1365a7f1e38b8babdfccee8db100af922ab73 /rsc | |
parent | 4b4c9184279c2cb5998348b09e084b295de1c8aa (diff) |
loplugin:constantparam
Change-Id: I821ed77a6c6014c9a82d31a4b117ed6f1b4abf18
Reviewed-on: https://gerrit.libreoffice.org/23832
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/inc/rsccont.hxx | 3 | ||||
-rw-r--r-- | rsc/source/res/rsccont.cxx | 8 |
2 files changed, 5 insertions, 6 deletions
diff --git a/rsc/inc/rsccont.hxx b/rsc/inc/rsccont.hxx index 0f4beced3949..129cc2319b82 100644 --- a/rsc/inc/rsccont.hxx +++ b/rsc/inc/rsccont.hxx @@ -107,8 +107,7 @@ class RscContWriteSrc : public RscBaseCont { public: RscContWriteSrc( Atom nId, sal_uInt32 nTypId, - RscTop * pSuper = nullptr, - bool bNoId = true ); + RscTop * pSuper = nullptr ); void WriteSrc( const RSCINST & rInst, FILE * fOutput, RscTypCont * pTC, sal_uInt32 nTab, const char * ) override; }; diff --git a/rsc/source/res/rsccont.cxx b/rsc/source/res/rsccont.cxx index 5ae59a35da14..012aa28c0d4d 100644 --- a/rsc/source/res/rsccont.cxx +++ b/rsc/source/res/rsccont.cxx @@ -722,8 +722,8 @@ ERRTYPE RscBaseCont::WriteRc( const RSCINST & rInst, RscWriteRc & rMem, } RscContWriteSrc::RscContWriteSrc( Atom nId, sal_uInt32 nTypeId, - RscTop * pSuper, bool bNoIdent ) - : RscBaseCont( nId, nTypeId, pSuper, bNoIdent ) + RscTop * pSuper ) + : RscBaseCont( nId, nTypeId, pSuper, true ) { } @@ -750,7 +750,7 @@ void RscContWriteSrc::WriteSrc( const RSCINST & rInst, FILE * fOutput, } RscCont::RscCont( Atom nId, sal_uInt32 nTypeId, RscTop * pSuper ) - : RscContWriteSrc( nId, nTypeId, pSuper, true/*bNoIdent*/ ) + : RscContWriteSrc( nId, nTypeId, pSuper ) { } @@ -774,7 +774,7 @@ ERRTYPE RscCont::WriteRc( const RSCINST & rInst, RscWriteRc & rMem, RscContExtraData::RscContExtraData( Atom nId, sal_uInt32 nTypeId, RscTop * pSuper ) - : RscContWriteSrc( nId, nTypeId, pSuper, true/*bNoIdent*/ ) + : RscContWriteSrc( nId, nTypeId, pSuper ) { } |