Kaydet (Commit) d9f303a0 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove unused FormulaToken::Is3DRef

Change-Id: Ib720bc4b3bfff8e428d14d65ff73144db82c60e0
üst e3ac30fe
......@@ -74,11 +74,6 @@ FormulaToken::~FormulaToken()
{
}
bool FormulaToken::Is3DRef() const
{
return false;
}
bool FormulaToken::IsFunction() const
{
return (eOp != ocPush && eOp != ocBad && eOp != ocColRowName &&
......
......@@ -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;
......
......@@ -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;
......
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment