summaryrefslogtreecommitdiff
path: root/rsc/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-12 01:30:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-12 09:16:29 +0100
commitae5b6a6e5e73517eb40d4f8d7d2c17d1bfba810f (patch)
treeac48d002bd0355f6f9a660002cff981c533ecb87 /rsc/inc
parentcc3d6508286ef9daa5bf6a028e0e3b81c2ccc98d (diff)
callcatcher: unused code
Diffstat (limited to 'rsc/inc')
-rw-r--r--rsc/inc/rscclass.hxx9
-rw-r--r--rsc/inc/rscdb.hxx4
-rw-r--r--rsc/inc/rscdef.hxx11
-rw-r--r--rsc/inc/rsckey.hxx2
-rw-r--r--rsc/inc/rscrsc.hxx10
5 files changed, 3 insertions, 33 deletions
diff --git a/rsc/inc/rscclass.hxx b/rsc/inc/rscclass.hxx
index 7dc3e95488ad..36bc5be7c4ca 100644
--- a/rsc/inc/rscclass.hxx
+++ b/rsc/inc/rscclass.hxx
@@ -118,15 +118,6 @@ public:
RscTypCont * pTC, sal_uInt32, sal_Bool bExtra );
};
-class RscFirstSysDepend : public RscSysDepend
-{
-public:
- RscFirstSysDepend( Atom nId, sal_uInt32 nTypId,
- RscTop * pSuper );
- ERRTYPE WriteRc( const RSCINST &, RscWriteRc & aMem,
- RscTypCont * pTC, sal_uInt32, sal_Bool bExtra );
-};
-
class RscTupel : public RscClass
{
public:
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx
index 54c386dab315..830c25fb72b6 100644
--- a/rsc/inc/rscdb.hxx
+++ b/rsc/inc/rscdb.hxx
@@ -337,8 +337,6 @@ public:
}
RscTop * SearchType( Atom nTypId );
RscTop * Search( Atom typ );
- CLASS_DATA Search( Atom typ, const RscId & rId );
- void Delete( Atom typ, const RscId & rId );
// loescht alle Resourceobjekte diese Datei
void Delete( sal_uLong lFileKey );
RscTop * GetRoot() { return( pRoot ); };
@@ -353,8 +351,6 @@ public:
const ByteString & rHxxName );
void WriteSyntax( FILE * fOutput );
void WriteRcCtor( FILE * fOutput );
- void FillNameIdList( REResourceList * pList, sal_uLong lFileKey );
- sal_Bool MakeConsistent();
sal_uInt32 PutTranslatorKey( sal_uInt64 nKey );
void IncFilePos( sal_uLong nOffset ){ nFilePos += nOffset; }
};
diff --git a/rsc/inc/rscdef.hxx b/rsc/inc/rscdef.hxx
index bb9cb196d0c7..8a884c0e5dfd 100644
--- a/rsc/inc/rscdef.hxx
+++ b/rsc/inc/rscdef.hxx
@@ -103,11 +103,9 @@ public:
RscId& operator = ( const RscId& rRscId );
- static sal_Bool IsSetNames();
static void SetNames( sal_Bool bSet = sal_True );
operator sal_Int32() const; // Gibt Nummer zurueck
ByteString GetName() const; // Gibt den Namen des Defines zurueck
- ByteString GetMacro() const; // Gibt das Macro zurueck
sal_Bool operator < ( const RscId& rRscId ) const;
sal_Bool operator > ( const RscId& rRscId ) const;
sal_Bool operator == ( const RscId& rRscId ) const;
@@ -166,9 +164,7 @@ private:
sal_Int32 lDefId, size_t lPos );
RscDefine * New( sal_uLong lFileKey, const ByteString & rDefName,
RscExpression * pExpression, size_t lPos );
- sal_Bool Befor( const RscDefine * pFree, const RscDefine * pDepend );
sal_Bool Remove( RscDefine * pDef );
- sal_Bool Remove( size_t nIndex );
sal_Bool Remove();
size_t GetPos( RscDefine* item ) {
for ( size_t i = 0, n = maList.size(); i < n; ++i )
@@ -265,15 +261,8 @@ public:
RscDefine * NewDef( sal_uLong lKey, const ByteString & rDefName,
RscExpression *, sal_uLong lPos );
- sal_Bool ChangeDef( const ByteString & rDefName, sal_Int32 lId );
- sal_Bool ChangeDef( const ByteString & rDefName, RscExpression * );
-
- sal_Bool IsDefUsed( const ByteString & );
- void DeleteDef( const ByteString & );
-
// Alle Defines die in dieser Datei Definiert sind loeschen
void DeleteFileContext( sal_uLong lKey );
- void DeleteFile( sal_uLong lKey );
sal_uLong NewCodeFile( const ByteString & rName );
sal_uLong NewIncFile( const ByteString & rName, const ByteString & rPath );
RscFile * GetFile( sal_uLong lFileKey ){ return Get( lFileKey ); }
diff --git a/rsc/inc/rsckey.hxx b/rsc/inc/rsckey.hxx
index dd99b68b0fae..65125c2904d1 100644
--- a/rsc/inc/rsckey.hxx
+++ b/rsc/inc/rsckey.hxx
@@ -48,11 +48,9 @@ public:
~RscNameTable();
void SetSort( sal_Bool bSorted = sal_True );
Atom Put( Atom nName, sal_uInt32 nTyp, long nValue );
- Atom Put( Atom nName, sal_uInt32 nTyp );
Atom Put( const char * pName, sal_uInt32 nTyp, long nValue );
Atom Put( const char * pName, sal_uInt32 nTyp );
Atom Put( Atom nName, sal_uInt32 nTyp, RscTop * pClass );
- Atom Put( const char * pName, sal_uInt32 nTyp, RscTop * pClass );
// sal_True, wurde gefunden
sal_Bool Get( Atom nName, KEY_STRUCT * pEle );
diff --git a/rsc/inc/rscrsc.hxx b/rsc/inc/rscrsc.hxx
index 367118858918..aa7ee437643a 100644
--- a/rsc/inc/rscrsc.hxx
+++ b/rsc/inc/rscrsc.hxx
@@ -76,12 +76,10 @@ public:
std::list<OutputFile> m_aOutputFiles;
std::list< std::pair< rtl::OString, rtl::OString > > m_aReplacements;
- RscCmdLine( int argc, char ** argv, RscError * pEH );
- RscCmdLine();
+ RscCmdLine( int argc, char ** argv, RscError * pEH );
+ ~RscCmdLine();
- ~RscCmdLine();
-
- ::rtl::OString substitutePaths( const ::rtl::OString& rIn );
+ ::rtl::OString substitutePaths( const ::rtl::OString& rIn );
};
/****************** R s c ************************************************/
@@ -97,7 +95,6 @@ private:
void CreateResFile( const char * pRc );
void Append( const ByteString& rOutputSrs, const ByteString& rTmpFile );
- void OpenInput( const ByteString& rInput );
bool GetImageFilePath( const RscCmdLine::OutputFile& rOutputFile,
const WriteRcContext& rContext,
@@ -119,7 +116,6 @@ public:
~RscCompiler();
ERRTYPE Start();
- ByteString GetTmpFileName(); // Die Dateien werden geloescht
// Include Statements lesen
ERRTYPE IncludeParser( sal_uLong lFileKey );