diff options
author | August Sodora <augsod@gmail.com> | 2012-01-06 13:59:34 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2012-01-07 17:47:06 -0500 |
commit | 809438ad92ab5709fcea022e0f403bb941c2f1b3 (patch) | |
tree | fa3853abe7aaf2a8b8c0c8bc2470bd590c60211f /basic | |
parent | e0cf30f54a8c5e962fc4aa213f47819598ec22e9 (diff) |
Remove unused code
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/comp/exprtree.cxx | 18 | ||||
-rw-r--r-- | basic/source/inc/expr.hxx | 2 |
2 files changed, 0 insertions, 20 deletions
diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx index 2c0db8724783..d4d0fa52ef21 100644 --- a/basic/source/comp/exprtree.cxx +++ b/basic/source/comp/exprtree.cxx @@ -65,15 +65,6 @@ SbiExpression::SbiExpression( SbiParser* p, double n, SbxDataType t ) pExpr->Optimize(); } -SbiExpression::SbiExpression( SbiParser* p, const String& r ) -{ - pParser = p; - pNext = NULL; - bError = bByVal = bBased = bBracket = sal_False; - eCurExpr = SbOPERAND; - pExpr = new SbiExprNode( pParser, r ); -} - SbiExpression::SbiExpression( SbiParser* p, const SbiSymDef& r, SbiExprList* pPar ) { pParser = p; @@ -83,15 +74,6 @@ SbiExpression::SbiExpression( SbiParser* p, const SbiSymDef& r, SbiExprList* pPa pExpr = new SbiExprNode( pParser, r, SbxVARIANT, pPar ); } -SbiExpression::SbiExpression( SbiParser* p, SbiToken t ) -{ - pParser = p; - pNext = NULL; - bError = bByVal = bBased = bBracket = sal_False; - eCurExpr = SbOPERAND; - pExpr = new SbiExprNode( pParser, NULL, t, NULL ); -} - SbiExpression::~SbiExpression() { delete pExpr; diff --git a/basic/source/inc/expr.hxx b/basic/source/inc/expr.hxx index 143be79dd2fc..c6a656ca4e35 100644 --- a/basic/source/inc/expr.hxx +++ b/basic/source/inc/expr.hxx @@ -199,10 +199,8 @@ protected: public: SbiExpression( SbiParser*, SbiExprType = SbSTDEXPR, SbiExprMode eMode = EXPRMODE_STANDARD, const KeywordSymbolInfo* pKeywordSymbolInfo = NULL ); // parsing Ctor - SbiExpression( SbiParser*, const String& ); SbiExpression( SbiParser*, double, SbxDataType = SbxDOUBLE ); SbiExpression( SbiParser*, const SbiSymDef&, SbiExprList* = NULL ); - SbiExpression( SbiParser*, SbiToken ); // special expr with special tokens ~SbiExpression(); String& GetName() { return aArgName; } void SetBased() { bBased = sal_True; } |