From f019ee7cf9e278cd8a27b1c36172ad4c8124080c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 18 Oct 2016 11:55:32 +0200 Subject: loplugin:expandablemethodds in basctl..chart2 Change-Id: I96f565a974fe3e316ae2ab04f8731b8bbfb87993 Reviewed-on: https://gerrit.libreoffice.org/29998 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- basic/source/inc/expr.hxx | 9 --------- 1 file changed, 9 deletions(-) (limited to 'basic/source/inc') 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; } -- cgit