summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-16 14:05:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-18 09:17:43 +0200
commit4c05834a363535804d2cf5892704e19a5bb4f966 (patch)
tree43226f521a491e833bdd3f18b1655e945018ba64 /rsc
parent60861faa8653afebb504cfbcaeed633d2373a27d (diff)
loplugin:unusedmethods
Change-Id: I1c50d176e793397a1f9625f797a3750cf191a61c Reviewed-on: https://gerrit.libreoffice.org/37679 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'rsc')
-rw-r--r--rsc/inc/rscdb.hxx1
-rw-r--r--rsc/inc/rsctools.hxx4
-rw-r--r--rsc/source/parser/rscdb.cxx32
3 files changed, 0 insertions, 37 deletions
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx
index 40147318a0df..a33d9eca7a33 100644
--- a/rsc/inc/rscdb.hxx
+++ b/rsc/inc/rscdb.hxx
@@ -114,7 +114,6 @@ public:
}
// deletes all resource objects of this file
void Delete( RscFileTab::Index lFileKey );
- sal_uInt32 PutSysName( RESOURCE_TYPE nRscTyp, char * pName );
void ClearSysNames();
ERRTYPE WriteRc( WriteRcContext& rContext );
void WriteSrc( FILE * fOutput, RscFileTab::Index nFileIndex );
diff --git a/rsc/inc/rsctools.hxx b/rsc/inc/rsctools.hxx
index ccfe95471dd9..2af05864b401 100644
--- a/rsc/inc/rsctools.hxx
+++ b/rsc/inc/rsctools.hxx
@@ -101,10 +101,6 @@ public:
*pTo++ = *pFrom++;
return bSwap ? OSL_SWAPDWORD( nVal ) : nVal;
}
- char * GetUTF8( sal_uInt32 nPos )
- {
- return GetPointer( nPos );
- }
sal_uInt32 Size(){ return nLen; }
void Put( sal_uInt64 lVal )
{
diff --git a/rsc/source/parser/rscdb.cxx b/rsc/source/parser/rscdb.cxx
index 8ff1da5acf1e..7eafff1f4398 100644
--- a/rsc/source/parser/rscdb.cxx
+++ b/rsc/source/parser/rscdb.cxx
@@ -188,38 +188,6 @@ void RscTypCont::ClearSysNames()
aSysLst.clear();
}
-sal_uInt32 RscTypCont::PutSysName( RESOURCE_TYPE nRscTyp, char * pFileName )
-{
- RscSysEntry *pFoundEntry = nullptr;
-
- for (RscSysEntry* pItem: aSysLst)
- {
- if( !strcmp( pItem->aFileName.getStr(), pFileName ) &&
- pItem->nRscTyp == nRscTyp &&
- pItem->nTyp == 0 &&
- pItem->nRefId == 0)
- {
- pFoundEntry = pItem;
- break;
- }
- }
- RscSysEntry *pSysEntry = pFoundEntry;
-
- if ( !pSysEntry )
- {
- pSysEntry = new RscSysEntry;
- pSysEntry->nKey = nUniqueId++;
- pSysEntry->nRscTyp = nRscTyp;
- pSysEntry->nTyp = 0;
- pSysEntry->nRefId = 0;
- pSysEntry->aFileName = pFileName;
- aSysLst.push_back( pSysEntry );
- }
-
- return pSysEntry->nKey;
-}
-
-
class RscEnumerateObj
{
friend class RscEnumerateRef;