summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-28 09:01:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-28 09:48:31 +0200
commit5503b0b79121fae89303fb00f255e57b05593930 (patch)
treecbb24839d0c7293e713d79c6a1f4b8d97644861a /rsc
parent215828dc6e3858b05930758fe8e3ea19d043b5b9 (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')
-rw-r--r--rsc/inc/rscclass.hxx10
-rw-r--r--rsc/source/res/rscclass.cxx51
2 files changed, 0 insertions, 61 deletions
diff --git a/rsc/inc/rscclass.hxx b/rsc/inc/rscclass.hxx
index 2e81aa24ac6a..382006c39c5d 100644
--- a/rsc/inc/rscclass.hxx
+++ b/rsc/inc/rscclass.hxx
@@ -89,16 +89,6 @@ public:
RscTypCont * pTC, sal_uInt32 ) override;
};
-class RscSysDepend : public RscClass
-{
-public:
- RscSysDepend( Atom nId, RESOURCE_TYPE nTypId, RscTop * pSuper );
- ERRTYPE WriteSysDependRc( const RSCINST &, RscWriteRc & aMem,
- RscTypCont * pTC, sal_uInt32 );
- ERRTYPE WriteRc( const RSCINST &, RscWriteRc & aMem,
- RscTypCont * pTC, sal_uInt32 ) override;
-};
-
class RscTupel : public RscClass
{
public:
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 )
{