summaryrefslogtreecommitdiff
path: root/idl/inc/lex.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-16 10:11:04 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-18 10:03:44 +0000
commit2c8fe2e737b84ecd3dbac36a4fe6bd061bbd3bae (patch)
tree66ba7ff0b95cf5ceeda5e53294a71c6786460eb3 /idl/inc/lex.hxx
parent4e59eecc077d27dd9762e7c890b2aaf92a212959 (diff)
update unusedmethods plugin to deal with constructors
and fix the operator< implementations in some of the other plugins too. Change-Id: Ie5631e0cdc8d2a994ad2af2533cdb558a6cfc035 Reviewed-on: https://gerrit.libreoffice.org/25057 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.hxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/idl/inc/lex.hxx b/idl/inc/lex.hxx
index 1891e3962006..10e41022ae23 100644
--- a/idl/inc/lex.hxx
+++ b/idl/inc/lex.hxx
@@ -59,7 +59,6 @@ public:
void SetColumn( sal_uLong nColumnP ) { nColumn = nColumnP; }
sal_uLong GetColumn() const { return nColumn; }
- bool IsEmpty() const { return nType == SVTOKENTYPE::Empty; }
bool IsComment() const { return nType == SVTOKENTYPE::Comment; }
bool IsInteger() const { return nType == SVTOKENTYPE::Integer; }
bool IsString() const { return nType == SVTOKENTYPE::String; }
@@ -86,8 +85,6 @@ public:
void SetHash( SvStringHashEntry * pHashP )
{ pHash = pHashP; nType = SVTOKENTYPE::HashId; }
- bool HasHash() const
- { return nType == SVTOKENTYPE::HashId; }
bool Is( SvStringHashEntry * pEntry ) const
{ return IsIdentifierHash() && pHash == pEntry; }
};
@@ -190,17 +187,6 @@ public:
return false;
}
- bool ReadIf( SvStringHashEntry* pEntry )
- {
- if( GetToken().Is( pEntry ) )
- {
- GetToken_Next();
- return true;
- }
- else
- return false;
- }
-
bool ReadIfDelimiter()
{
if( GetToken().IsChar()