summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-18 15:22:39 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-19 06:42:05 +0000
commit727d4dbebaf947593ce5caae6915238c8c4f3da2 (patch)
tree65aba50668cc9a4a46750e63323bfa26f5f482f3 /rsc
parent808c2b9ff52bea3c1e0580e7ac2aa75406d6e2d1 (diff)
loplugin:unusedmethods in package to rsc
Change-Id: I61c6f56a69891d656a41d3617d0ce2b34d848c84 Reviewed-on: https://gerrit.libreoffice.org/25108 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'rsc')
-rw-r--r--rsc/inc/rscdb.hxx1
-rw-r--r--rsc/inc/rscdef.hxx2
-rw-r--r--rsc/inc/rsctree.hxx1
-rw-r--r--rsc/source/parser/rscdb.cxx41
-rw-r--r--rsc/source/tools/rscdef.cxx12
5 files changed, 0 insertions, 57 deletions
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx
index a1dc47a3997c..ba229faf55d4 100644
--- a/rsc/inc/rscdb.hxx
+++ b/rsc/inc/rscdb.hxx
@@ -223,7 +223,6 @@ class RscTypCont
void InsWinBit( RscTop * pClass, const OString& rName,
Atom nVal );
- void WriteInc( FILE * fOutput, RscFileTab::Index lKey );
public:
RscBool aBool;
diff --git a/rsc/inc/rscdef.hxx b/rsc/inc/rscdef.hxx
index d2194f040e21..c9ef7f40f4c0 100644
--- a/rsc/inc/rscdef.hxx
+++ b/rsc/inc/rscdef.hxx
@@ -169,8 +169,6 @@ private:
return i;
return size_t(-1);
}
-public:
- void WriteAll( FILE * fOutput );
};
/*********** R s c E x p r e s s i o n ***********************************/
diff --git a/rsc/inc/rsctree.hxx b/rsc/inc/rsctree.hxx
index b5691980db94..62db17b38296 100644
--- a/rsc/inc/rsctree.hxx
+++ b/rsc/inc/rsctree.hxx
@@ -82,7 +82,6 @@ protected:
OString m_aName;
public:
- StringNode() {}
StringNode(const OString& rStr) { m_aName = rStr; }
StringNode* Search( const char * ) const;
diff --git a/rsc/source/parser/rscdb.cxx b/rsc/source/parser/rscdb.cxx
index 877e22605b63..1d695fb7f54b 100644
--- a/rsc/source/parser/rscdb.cxx
+++ b/rsc/source/parser/rscdb.cxx
@@ -287,47 +287,6 @@ sal_uInt32 RscTypCont::PutSysName( sal_uInt32 nRscTyp, char * pFileName )
return pSysEntry->nKey;
}
-void RscTypCont::WriteInc( FILE * fOutput, RscFileTab::Index lFileKey )
-{
-
- if( lFileKey == RscFileTab::IndexNotFound )
- {
- RscFileTab::Index aIndex = aFileTab.FirstIndex();
- while( aIndex != RscFileTab::IndexNotFound )
- {
- RscFile * pFName = aFileTab.Get( aIndex );
- if( pFName->IsIncFile() )
- {
- fprintf( fOutput, "#include " );
- fprintf( fOutput, "\"%s\"\n",
- pFName->aFileName.getStr() );
- }
- aIndex = aFileTab.NextIndex( aIndex );
- }
- }
- else
- {
- RscFile * pFName = aFileTab.Get( lFileKey );
- if( pFName )
- {
- for ( size_t i = 0, n = pFName->aDepLst.size(); i < n; ++i )
- {
- RscDepend* pDep = pFName->aDepLst[ i ];
- if( pDep->GetFileKey() != lFileKey )
- {
- RscFile* pFile = aFileTab.GetFile( pDep->GetFileKey() );
- if( pFile )
- {
- fprintf( fOutput, "#include " );
- fprintf( fOutput, "\"%s\"\n",
- pFile->aFileName.getStr() );
- }
- }
- }
- }
- }
-}
-
class RscEnumerateObj
{
diff --git a/rsc/source/tools/rscdef.cxx b/rsc/source/tools/rscdef.cxx
index b632009afadb..820c3f0688f9 100644
--- a/rsc/source/tools/rscdef.cxx
+++ b/rsc/source/tools/rscdef.cxx
@@ -231,18 +231,6 @@ bool RscDefineList::Remove()
return true;
}
-void RscDefineList::WriteAll( FILE * fOutput )
-{
- for ( size_t i = 0, n = maList.size(); i < n; ++i )
- {
- RscDefine* pDefEle = maList[ i ];
- fprintf( fOutput, "#define %s %s\n",
- pDefEle->GetName().getStr(),
- pDefEle->GetMacro().getStr()
- );
- }
-}
-
bool RscExpType::Evaluate( sal_Int32 * plValue ) const
{
if( IsDefinition() )