diff options
Diffstat (limited to 'rsc/inc')
-rw-r--r-- | rsc/inc/rscarray.hxx | 1 | ||||
-rw-r--r-- | rsc/inc/rscclobj.hxx | 4 | ||||
-rw-r--r-- | rsc/inc/rscconst.hxx | 4 | ||||
-rw-r--r-- | rsc/inc/rscdb.hxx | 10 | ||||
-rw-r--r-- | rsc/inc/rscdef.hxx | 1 | ||||
-rw-r--r-- | rsc/inc/rsclex.hxx | 3 | ||||
-rw-r--r-- | rsc/inc/rscpar.hxx | 4 | ||||
-rw-r--r-- | rsc/inc/rscrange.hxx | 2 | ||||
-rw-r--r-- | rsc/inc/rscrsc.hxx | 2 | ||||
-rw-r--r-- | rsc/inc/rsctools.hxx | 7 | ||||
-rw-r--r-- | rsc/inc/rsctop.hxx | 11 |
11 files changed, 1 insertions, 48 deletions
diff --git a/rsc/inc/rscarray.hxx b/rsc/inc/rscarray.hxx index 080a60e45fed..232091f278ff 100644 --- a/rsc/inc/rscarray.hxx +++ b/rsc/inc/rscarray.hxx @@ -67,7 +67,6 @@ public: virtual ~RscArray(); virtual RSCCLASS_TYPE GetClassType() const SAL_OVERRIDE; - void SetTypeClass( RscEnum * pClass ) { pTypeClass = pClass; } virtual RscTop * GetTypeClass() const SAL_OVERRIDE; RSCINST Create( RSCINST * pInst, const RSCINST & rDflt, bool ) SAL_OVERRIDE; void Destroy( const RSCINST & rInst ) SAL_OVERRIDE; diff --git a/rsc/inc/rscclobj.hxx b/rsc/inc/rscclobj.hxx index 18151148c7e6..5eaedb6da2b5 100644 --- a/rsc/inc/rscclobj.hxx +++ b/rsc/inc/rscclobj.hxx @@ -70,10 +70,6 @@ public: ObjNode* pObjBiTree; // Zeiger auf Objektbaum RefNode( Atom nTyp ); sal_uInt32 GetId() const SAL_OVERRIDE; - RefNode* Search( Atom typ ) const //< search the index in the b-tree - { - return static_cast<RefNode *>(IdNode::Search( typ )); - } bool Insert( RefNode* pTN ) //< insert a new node in the b-tree { return IdNode::Insert( static_cast<IdNode *>(pTN) ); diff --git a/rsc/inc/rscconst.hxx b/rsc/inc/rscconst.hxx index c6778f24f1ed..55ea45851fee 100644 --- a/rsc/inc/rscconst.hxx +++ b/rsc/inc/rscconst.hxx @@ -38,13 +38,11 @@ public: RscConst( Atom nId, sal_uInt32 nTypId ); virtual ~RscConst(); virtual RSCCLASS_TYPE GetClassType() const SAL_OVERRIDE; - sal_uInt32 GetEntryCount() const { return nEntries; } // Die erlaubten Werte werden gesetzt ERRTYPE SetConstant( Atom nVarName, sal_Int32 lValue ); - Atom GetConstant( sal_uInt32 nPos ) SAL_OVERRIDE; bool GetConstValue( Atom nConstId, sal_Int32 * pVal ) const; bool GetValueConst( sal_Int32 nValue, Atom * pConstId ) const; - sal_uInt32 GetConstPos( Atom nConstId ); + sal_uInt32 GetConstPos( Atom nConstId ); }; class RscEnum : public RscConst diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx index 7fadead2e5f2..b4454ff950b1 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -148,10 +148,8 @@ class RscTypCont inline void SETCONST( RscConst *p1, Atom p2, ToolBoxItemBits p3 ) { SETCONST(p1, p2, static_cast<sal_uInt32>(p3)); } inline void SETCONST( RscConst *p1, Atom p2, WindowBorderStyle p3 ) { SETCONST(p1, p2, static_cast<sal_uInt32>(p3)); } inline void SETCONST( RscConst *p1, const char * p2, KeyFuncType p3 ) { SETCONST(p1, p2, static_cast<sal_uInt32>(p3)); } - inline void SETCONST( RscConst *p1, const char * p2, MenuItemBits p3 ) { SETCONST(p1, p2, static_cast<sal_uInt32>(p3)); } inline void SETCONST( RscConst *p1, Atom p2, MenuItemBits p3 ) { SETCONST(p1, p2, static_cast<sal_uInt32>(p3)); } inline void SETCONST( RscConst *p1, const char * p2, ToolBoxItemType p3 ) { SETCONST(p1, p2, static_cast<sal_uInt32>(p3)); } - inline void SETCONST( RscConst *p1, Atom p2, ButtonType p3 ) { SETCONST(p1, p2, static_cast<sal_uInt32>(p3)); } inline void SETCONST( RscConst *p1, const char * p2, ButtonType p3 ) { SETCONST(p1, p2, static_cast<sal_uInt32>(p3)); } inline void SETCONST( RscConst *p1, const char * p2, WindowAlign p3 ) { SETCONST(p1, p2, static_cast<sal_uInt32>(p3)); } RscEnum * InitLangType(); @@ -162,7 +160,6 @@ class RscTypCont RscEnum * InitTriState(); RscTupel * InitGeometry(); RscArray * InitLangGeometry( RscTupel * pGeo ); - RscArray * InitSystemGeometry( RscTupel * pGeo ); RscCont * InitStringList(); RscArray * InitLangStringList( RscCont * pStrLst ); RscTupel * InitStringTupel(); @@ -190,7 +187,6 @@ class RscTypCont RscTop * InitClassImageButton( RscTop * pSuper, RscTop * pClassImage, RscEnum * pTriState ); RscTop * InitClassEdit( RscTop * pSuper ); - RscTop * InitClassScrollBar( RscTop * pSuper ); RscTop * InitClassListBox( RscTop * pSuper, RscArray * pStrLst ); RscTop * InitClassComboBox( RscTop * pSuper, RscArray * pStrLst ); RscTop * InitClassFixedText( RscTop * pSuper ); @@ -261,11 +257,6 @@ public: ~RscTypCont(); Atom AddLanguage( const char* ); - - bool IsPreload() const - { return (nFlags & PRELOAD_FLAG) != 0; } - bool IsSysResTest() const - { return (nFlags & NOSYSRESTEST_FLAG) == 0; } bool IsSrsDefault() const { return (nFlags & SRSDEFAULT_FLAG) != 0; } OString ChangeLanguage(const OString & rNewLang); @@ -280,7 +271,6 @@ public: nSourceCharSet = aCharSet; return aOld; } - void SetSearchPath( const OString& rStr) { aSearchPath = rStr; } OString GetSearchPath() const { return aSearchPath; } void SetSysSearchPath( const OString& rStr ) { aSysSearchPath = rStr; } void InsertType( RscTop * pType ) diff --git a/rsc/inc/rscdef.hxx b/rsc/inc/rscdef.hxx index ce0126570d2a..6b033a195111 100644 --- a/rsc/inc/rscdef.hxx +++ b/rsc/inc/rscdef.hxx @@ -135,7 +135,6 @@ protected: RscExpression * pExpression ); virtual ~RscDefine(); void IncRef(){ nRefCount++; } - sal_uInt32 GetRefCount() const { return nRefCount; } void DecRef(); void DefineToNumber(); void SetName(const OString& rNewName) { m_aName = rNewName; } diff --git a/rsc/inc/rsclex.hxx b/rsc/inc/rsclex.hxx index c05fd0ce6d24..6d6fc43a5c3a 100644 --- a/rsc/inc/rsclex.hxx +++ b/rsc/inc/rsclex.hxx @@ -73,9 +73,6 @@ class ObjectStack const RSCINST & Top () { return pRoot->aInst; } bool IsEmpty() { return( pRoot == NULL ); } - void IncTupelRec() { pRoot->nTupelRec++; } - void DecTupelRec() { pRoot->nTupelRec--; } - sal_uInt32 TupelRecCount() const { return pRoot->nTupelRec; } void Push( RSCINST aInst ) { Node* pTmp; diff --git a/rsc/inc/rscpar.hxx b/rsc/inc/rscpar.hxx index 90c9eee5589a..41d83fd9e3d8 100644 --- a/rsc/inc/rscpar.hxx +++ b/rsc/inc/rscpar.hxx @@ -55,7 +55,6 @@ public: bool IsEof() const { return bEof; } void SetFileIndex( sal_uLong lFIndex ) { lFileIndex = lFIndex; } sal_uLong GetFileIndex() { return lFileIndex; } - sal_uLong GetSrcIndex() { return lSrcIndex; } void SetLineNo( sal_uInt32 nLine ) { nLineNo = nLine; } sal_uInt32 GetLineNo() { return nLineNo; } sal_uInt32 GetScanPos() { return nScanPos; } @@ -69,9 +68,6 @@ public: void GetNewLine(); // Fehlerbehandlung void SetError( ERRTYPE aError ); - ERRTYPE GetError() { return aFirstError; } - sal_uInt32 GetErrorLine() { return nErrorLine; } - sal_uInt32 GetErrorPos() { return nErrorPos; } }; void IncludeParser( RscFileInst * pFileInst ); diff --git a/rsc/inc/rscrange.hxx b/rsc/inc/rscrange.hxx index 0efe0d94d02e..51f74a308ffb 100644 --- a/rsc/inc/rscrange.hxx +++ b/rsc/inc/rscrange.hxx @@ -156,8 +156,6 @@ class RscBool : public RscRange public: RscBool( Atom nId, sal_uInt32 nTypId ); virtual RSCCLASS_TYPE GetClassType() const SAL_OVERRIDE; - // Der zulaessige Bereich wird gesetzt - static ERRTYPE SetRange( sal_Int32, sal_Int32 ){ return ERR_UNKNOWN_METHOD; } ERRTYPE SetBool( const RSCINST & rInst, bool b ) SAL_OVERRIDE { return SetNumber( rInst, (sal_Int32)b ); diff --git a/rsc/inc/rscrsc.hxx b/rsc/inc/rscrsc.hxx index 5d982d2ff77a..a52e3ab218dd 100644 --- a/rsc/inc/rscrsc.hxx +++ b/rsc/inc/rscrsc.hxx @@ -67,8 +67,6 @@ struct WriteRcContext; class RscCompiler { private: - void CreateResFile( const char * pRc ); - static bool GetImageFilePath( const RscCmdLine::OutputFile& rOutputFile, const WriteRcContext& rContext, const OString& rBaseFileName, diff --git a/rsc/inc/rsctools.hxx b/rsc/inc/rsctools.hxx index bfff4d5629ac..b2ad7c483e87 100644 --- a/rsc/inc/rsctools.hxx +++ b/rsc/inc/rsctools.hxx @@ -119,9 +119,6 @@ public: { return GetPointer( nPos ); } - - - RSCBYTEORDER_TYPE GetByteOrder() const { return nByteOrder; } sal_uInt32 Size(){ return nLen; } void Put( sal_uInt64 lVal ) { @@ -193,10 +190,6 @@ public: { PutAt( nPos, (sal_Int32)lVal); } - void PutAt( sal_uInt32 nPos, short nVal ) - { - PutAt( nPos, (sal_uInt16)nVal ); - } void PutAt( sal_uInt32 nPos, sal_uInt16 nVal ) { if( bSwap ) diff --git a/rsc/inc/rsctop.hxx b/rsc/inc/rsctop.hxx index 4570dd0752a5..c3859587c72c 100644 --- a/rsc/inc/rsctop.hxx +++ b/rsc/inc/rsctop.hxx @@ -49,10 +49,6 @@ public: OString aCallPar2; // Klassenaufruf ohne Typen ab ResId OString aCallParType; // Klassenaufruf mit Typen - void SetSuperClass( RscTop * pClass ) - { - pSuperClass = pClass; - } RscTop* GetSuperClass() const { return pSuperClass; } // Gibt den Typidentifier zurueck @@ -60,13 +56,8 @@ public: { return nTypId; }; // Gibt die Oberklasse zurueck bool InHierarchy( RscTop * pClass ); - bool IsCodeWriteable() const - { - return( 0 != aCallParType.getLength() ); - } void SetCallPar( const OString& rPar1, const OString& rPar2, const OString& rParType ); - void SetRefClass( RscTop * pRef ) { pRefClass = pRef; } RscTop* GetRefClass() const { return pRefClass; } virtual RSCCLASS_TYPE GetClassType() const = 0; RSCINST GetDefault(); @@ -77,8 +68,6 @@ public: // ausgehen, dass alle Klassenzeiger noch gueltig sind virtual void Pre_dtor(); - virtual Atom GetConstant( sal_uInt32 ); - virtual RscTop* GetTypeClass() const; // Gibt die Groesse der Klasse in Bytes |