summaryrefslogtreecommitdiff
path: root/rsc/source/parser/rscdb.cxx
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/source/parser/rscdb.cxx
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/source/parser/rscdb.cxx')
-rw-r--r--rsc/source/parser/rscdb.cxx41
1 files changed, 0 insertions, 41 deletions
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
{