diff options
Diffstat (limited to 'basic/source/comp/exprnode.cxx')
-rw-r--r-- | basic/source/comp/exprnode.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/basic/source/comp/exprnode.cxx b/basic/source/comp/exprnode.cxx index a1ae40a4eacc..ffe7509fe31b 100644 --- a/basic/source/comp/exprnode.cxx +++ b/basic/source/comp/exprnode.cxx @@ -177,18 +177,6 @@ bool SbiExprNode::IsLvalue() return IsVariable(); } -// Identify of the depth of a tree - -short SbiExprNode::GetDepth() -{ - if( IsOperand() ) return 0; - else - { - return std::max(pLeft->GetDepth(), pRight->GetDepth()) + 1; - } -} - - // Adjustment of a tree: // 1. Constant Folding // 2. Type-Adjustment |