diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-28 08:39:57 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-30 06:23:00 +0000 |
commit | a45827b2308febc7369db27fb489a6d1389534e1 (patch) | |
tree | 0b697341738010da35bd0a6a6189ef6761e5db0a /idl/inc/lex.hxx | |
parent | 2387c2a46e15995686d28dccdfd455012072b4cf (diff) |
loplugin:unusedmethods
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971
Reviewed-on: https://gerrit.libreoffice.org/17378
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'idl/inc/lex.hxx')
-rw-r--r-- | idl/inc/lex.hxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/idl/inc/lex.hxx b/idl/inc/lex.hxx index 5f5b18908814..ffcb0c91ee30 100644 --- a/idl/inc/lex.hxx +++ b/idl/inc/lex.hxx @@ -57,7 +57,6 @@ public: SvToken & operator = ( const SvToken & rObj ); OString GetTokenAsString() const; - SVTOKEN_ENUM GetType() const { return nType; } void SetLine( sal_uLong nLineP ) { nLine = nLineP; } sal_uLong GetLine() const { return nLine; } @@ -78,7 +77,6 @@ public: || nType == SVTOKEN_HASHID; } bool IsChar() const { return nType == SVTOKEN_CHAR; } - bool IsRttiBase() const { return nType == SVTOKEN_RTTIBASE; } bool IsEof() const { return nType == SVTOKEN_EOF; } const OString& GetString() const @@ -95,7 +93,6 @@ public: { pHash = pHashP; nType = SVTOKEN_HASHID; } bool HasHash() const { return nType == SVTOKEN_HASHID; } - SvStringHashEntry * GetHash() const { return pHash; } bool Is( SvStringHashEntry * pEntry ) const { return IsIdentifierHash() && pHash == pEntry; } }; @@ -179,10 +176,6 @@ public: const OUString & GetFileName() const { return aFileName; } SvStream & GetStream() { return rInStream; } - void SetTabSize( sal_uInt16 nTabSizeP ) - { nTabSize = nTabSizeP; } - sal_uInt16 GetTabSize() const { return nTabSize; } - SvToken* GetToken_PrevAll() { boost::ptr_vector<SvToken>::iterator pRetToken = pCurToken; @@ -244,17 +237,6 @@ public: SetMax(); } - void SeekRel( sal_uInt32 nRelPos ) - { - sal_uInt32 relIdx = Tell() + nRelPos; - - if ( relIdx < aTokList.size()) - { - pCurToken = aTokList.begin()+ (Tell() + nRelPos ); - SetMax(); - } - } - void SeekEnd() { pCurToken = aTokList.begin()+nMaxPos; |