summaryrefslogtreecommitdiff
path: root/basic/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-18 11:55:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 08:07:04 +0000
commitf019ee7cf9e278cd8a27b1c36172ad4c8124080c (patch)
tree2bd572ff8dc882f5f790165bf54c044af9c37190 /basic/source/inc
parent9e54e0708df58b054996d6f6c66852a50d25e742 (diff)
loplugin:expandablemethodds in basctl..chart2
Change-Id: I96f565a974fe3e316ae2ab04f8731b8bbfb87993 Reviewed-on: https://gerrit.libreoffice.org/29998 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/inc')
-rw-r--r--basic/source/inc/expr.hxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/basic/source/inc/expr.hxx b/basic/source/inc/expr.hxx
index 748d6b26e400..68a7bf90be0f 100644
--- a/basic/source/inc/expr.hxx
+++ b/basic/source/inc/expr.hxx
@@ -109,10 +109,6 @@ class SbiExprNode final { // operators (and operands)
void CollectBits(); // converting numbers to strings
bool IsOperand()
{ return eNodeType != SbxNODE && eNodeType != SbxTYPEOF && eNodeType != SbxNEW; }
- bool IsTypeOf()
- { return eNodeType == SbxTYPEOF; }
- bool IsNew()
- { return eNodeType == SbxNEW; }
bool IsNumber();
bool IsLvalue(); // true, if usable as Lvalue
void GenElement( SbiCodeGen&, SbiOpcode );
@@ -132,12 +128,7 @@ public:
{ return eNodeType == SbxSTRVAL || eNodeType == SbxNUMVAL; }
void ConvertToIntConstIfPossible();
bool IsVariable();
- bool IsUnary()
- { return pLeft && !pRight; }
- bool IsBinary()
- { return pLeft && pRight; }
- SbiExprNode* GetWithParent() { return pWithParent; }
void SetWithParent( SbiExprNode* p ) { pWithParent = p; }
SbxDataType GetType() { return eType; }