diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-28 09:01:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-28 09:48:31 +0200 |
commit | 5503b0b79121fae89303fb00f255e57b05593930 (patch) | |
tree | cbb24839d0c7293e713d79c6a1f4b8d97644861a /rsc/source | |
parent | 215828dc6e3858b05930758fe8e3ea19d043b5b9 (diff) |
loplugin:unusedmethods
Change-Id: I8b618d791fd093ea069fdc26ed6c274e172222a4
Reviewed-on: https://gerrit.libreoffice.org/37048
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'rsc/source')
-rw-r--r-- | rsc/source/res/rscclass.cxx | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/rsc/source/res/rscclass.cxx b/rsc/source/res/rscclass.cxx index a6922310308f..c793771d4322 100644 --- a/rsc/source/res/rscclass.cxx +++ b/rsc/source/res/rscclass.cxx @@ -618,57 +618,6 @@ ERRTYPE RscClass::WriteRc( const RSCINST & rInst, return aError; } -RscSysDepend::RscSysDepend( Atom nId, RESOURCE_TYPE nTypeId, RscTop * pSuper ) - : RscClass( nId, nTypeId, pSuper ) -{ -} - -ERRTYPE RscSysDepend::WriteSysDependRc( const RSCINST & rInst, RscWriteRc & rMem, - RscTypCont * pTC, sal_uInt32 nDeep ) -{ - ERRTYPE aError; - RSCINST aFileName; - - // retrieve instance with file name "FILENAME" - aFileName = RscClass::GetCopyVar( rInst, pHS->getID( "FILE", true ) ); - if( aFileName.IsInst() ) - { - RscWriteRc aTmpMem; - aError = aFileName.pClass->WriteRcHeader( aFileName, aTmpMem, pTC, - RscId(), nDeep ); - // Obsolete - need changes in VCL - rMem.Put( sal_uInt32(0) ); - - // write identifier - sal_uInt32 nId = 0xFFFFFFFF; - if( aTmpMem.Size() && pTC && (*aTmpMem.GetUTF8( 0 ) != '\0') ) - { - nId = pTC->PutSysName( rInst.pClass->GetTypId(), - aTmpMem.GetUTF8( 0 ) ); - } - rMem.Put( nId ); - aError = aFileName.pClass->WriteRcHeader( aFileName, rMem, pTC, - RscId(), nDeep ); - } - else - aError = ERR_ERROR; - - return aError; -} - -ERRTYPE RscSysDepend::WriteRc( const RSCINST & rInst, RscWriteRc & rMem, - RscTypCont * pTC, sal_uInt32 nDeep ) -{ - ERRTYPE aError = RscClass::WriteRc( rInst, rMem, pTC, nDeep ); - - if( this == rInst.pClass ) - { - // only when it is own class - aError = WriteSysDependRc( rInst, rMem, pTC, nDeep ); - } - return aError; -} - RscTupel::RscTupel( Atom nId, RESOURCE_TYPE nTypeId ) : RscClass( nId, nTypeId, nullptr ) { |