From 9866efe3e5a670bab54d931be31e1989aeb382a7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 5 Apr 2016 08:03:35 +0200 Subject: loplugin:constantparam Change-Id: I821ed77a6c6014c9a82d31a4b117ed6f1b4abf18 Reviewed-on: https://gerrit.libreoffice.org/23832 Tested-by: Jenkins Reviewed-by: Noel Grandin --- rsc/inc/rsccont.hxx | 3 +-- rsc/source/res/rsccont.cxx | 8 ++++---- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'rsc') 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 ) { } -- cgit