Remove unused FormulaToken::Is3DRef

Change-Id: Ib720bc4b3bfff8e428d14d65ff73144db82c60e0
This commit is contained in:
Stephan Bergmann 2014-10-22 10:58:21 +02:00
parent e3ac30fe62
commit d9f303a030
4 changed files with 0 additions and 30 deletions

View file

@ -74,11 +74,6 @@ FormulaToken::~FormulaToken()
{
}
bool FormulaToken::Is3DRef() const
{
return false;
}
bool FormulaToken::IsFunction() const
{
return (eOp != ocPush && eOp != ocBad && eOp != ocColRowName &&

View file

@ -156,7 +156,6 @@ public:
virtual FormulaToken* Clone() const { return new FormulaToken(*this); }
virtual bool Is3DRef() const; // reference with 3D flag set
virtual bool TextEqual( const formula::FormulaToken& rToken ) const;
virtual bool operator==( const FormulaToken& rToken ) const;

View file

@ -89,7 +89,6 @@ public:
virtual ScRefList* GetRefList();
virtual bool TextEqual( const formula::FormulaToken& rToken ) const SAL_OVERRIDE;
virtual bool Is3DRef() const SAL_OVERRIDE; // reference with 3D flag set
#if DEBUG_FORMULA_COMPILER
virtual void Dump() const;

View file

@ -510,29 +510,6 @@ bool ScToken::TextEqual( const FormulaToken& _rToken ) const
return *this == _rToken; // else normal operator==
}
bool ScToken::Is3DRef() const
{
switch ( eType )
{
case svDoubleRef :
if ( GetSingleRef2().IsFlag3D() )
return true;
//! fallthru
case svSingleRef :
if ( GetSingleRef().IsFlag3D() )
return true;
break;
case svExternalSingleRef:
case svExternalDoubleRef:
return true;
default:
{
// added to avoid warnings
}
}
return false;
}
#if DEBUG_FORMULA_COMPILER
void ScToken::Dump() const
{