diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-01 15:16:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-02 07:57:37 +0200 |
commit | 1e34462c538cda04f9afcbdb0f7b9ead26fc94be (patch) | |
tree | 18ec942add1ca9173c047d12eda3fbed62be5f34 /rsc/source/res | |
parent | b887f73ff0f152a7cf943dcab1eee09c3fb0d877 (diff) |
loplugin:unuseddefaultparam in rsc
Change-Id: Ib4cbc48295e7c16683765d1c1420fcf73235517d
Diffstat (limited to 'rsc/source/res')
-rw-r--r-- | rsc/source/res/rscclass.cxx | 4 | ||||
-rw-r--r-- | rsc/source/res/rscmgr.cxx | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/rsc/source/res/rscclass.cxx b/rsc/source/res/rscclass.cxx index 41647629008b..7529de44601d 100644 --- a/rsc/source/res/rscclass.cxx +++ b/rsc/source/res/rscclass.cxx @@ -768,7 +768,7 @@ RscSysDepend::RscSysDepend( Atom nId, sal_uInt32 nTypeId, RscTop * pSuper ) } ERRTYPE RscSysDepend::WriteSysDependRc( const RSCINST & rInst, RscWriteRc & rMem, - RscTypCont * pTC, sal_uInt32 nDeep, bool bExtra, bool bFirst ) + RscTypCont * pTC, sal_uInt32 nDeep, bool bExtra ) { ERRTYPE aError; RSCINST aFileName; @@ -789,7 +789,7 @@ ERRTYPE RscSysDepend::WriteSysDependRc( const RSCINST & rInst, RscWriteRc & rMem { nId = pTC->PutSysName( rInst.pClass->GetTypId(), aTmpMem.GetUTF8( 0 ), - 0, 0, bFirst ); + 0, 0, false/*bFirst*/ ); } rMem.Put( nId ); aError = aFileName.pClass->WriteRcHeader( aFileName, rMem, pTC, diff --git a/rsc/source/res/rscmgr.cxx b/rsc/source/res/rscmgr.cxx index 9c907160e9b6..682ea0c6ecef 100644 --- a/rsc/source/res/rscmgr.cxx +++ b/rsc/source/res/rscmgr.cxx @@ -279,13 +279,14 @@ ERRTYPE RscMgr::GetRef( const RSCINST & rInst, RscId * pRscId ) return ERR_OK; } -ERRTYPE RscMgr::IsToDeep( const RSCINST & rInst, sal_uInt32 nDeep ) +ERRTYPE RscMgr::IsToDeep( const RSCINST & rInst ) { RscMgrInst * pClassData; RscId aOldId, aId; ERRTYPE aError; RSCINST aTmpI = rInst; ObjNode * pObjNode; + sal_uInt32 nDeep = 0; pClassData = reinterpret_cast<RscMgrInst *>(rInst.pData + RscClass::Size()); |