diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-23 09:19:06 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-23 10:19:42 +0200 |
commit | e73638279b3e6634b47ca77de993cf2be08ae5d5 (patch) | |
tree | ccf6701cc79543301dc1a2915ad482b75870baf6 /rsc/source/res | |
parent | 5de18e6a1fe643f1cf15b8456587208ecb11e1c5 (diff) |
loplugin:constantparam in rsc
Change-Id: I54f80c9c759eec4b73d1fd194e3efc8156bd3e2d
Diffstat (limited to 'rsc/source/res')
-rw-r--r-- | rsc/source/res/rscclass.cxx | 3 | ||||
-rw-r--r-- | rsc/source/res/rsccont.cxx | 8 |
2 files changed, 5 insertions, 6 deletions
diff --git a/rsc/source/res/rscclass.cxx b/rsc/source/res/rscclass.cxx index 7529de44601d..c88cf082b664 100644 --- a/rsc/source/res/rscclass.cxx +++ b/rsc/source/res/rscclass.cxx @@ -788,8 +788,7 @@ ERRTYPE RscSysDepend::WriteSysDependRc( const RSCINST & rInst, RscWriteRc & rMem if( aTmpMem.Size() && pTC && (*aTmpMem.GetUTF8( 0 ) != '\0') ) { nId = pTC->PutSysName( rInst.pClass->GetTypId(), - aTmpMem.GetUTF8( 0 ), - 0, 0, false/*bFirst*/ ); + aTmpMem.GetUTF8( 0 ) ); } rMem.Put( nId ); aError = aFileName.pClass->WriteRcHeader( aFileName, rMem, pTC, diff --git a/rsc/source/res/rsccont.cxx b/rsc/source/res/rsccont.cxx index d2fe2889e386..5ae59a35da14 100644 --- a/rsc/source/res/rsccont.cxx +++ b/rsc/source/res/rsccont.cxx @@ -749,8 +749,8 @@ void RscContWriteSrc::WriteSrc( const RSCINST & rInst, FILE * fOutput, fprintf( fOutput, "}" ); } -RscCont::RscCont( Atom nId, sal_uInt32 nTypeId, RscTop * pSuper, bool bNoIdent ) - : RscContWriteSrc( nId, nTypeId, pSuper, bNoIdent ) +RscCont::RscCont( Atom nId, sal_uInt32 nTypeId, RscTop * pSuper ) + : RscContWriteSrc( nId, nTypeId, pSuper, true/*bNoIdent*/ ) { } @@ -773,8 +773,8 @@ ERRTYPE RscCont::WriteRc( const RSCINST & rInst, RscWriteRc & rMem, } RscContExtraData::RscContExtraData( Atom nId, sal_uInt32 nTypeId, - RscTop * pSuper, bool bNoIdent ) - : RscContWriteSrc( nId, nTypeId, pSuper, bNoIdent ) + RscTop * pSuper ) + : RscContWriteSrc( nId, nTypeId, pSuper, true/*bNoIdent*/ ) { } |