summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--formula/source/core/api/token.cxx5
-rw-r--r--include/formula/token.hxx1
-rw-r--r--sc/inc/token.hxx1
-rw-r--r--sc/source/core/tool/token.cxx23
4 files changed, 0 insertions, 30 deletions
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx
index 95a3f24aaafb..5ce44e82ff6c 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -74,11 +74,6 @@ FormulaToken::~FormulaToken()
{
}
-bool FormulaToken::Is3DRef() const
-{
- return false;
-}
-
bool FormulaToken::IsFunction() const
{
return (eOp != ocPush && eOp != ocBad && eOp != ocColRowName &&
diff --git a/include/formula/token.hxx b/include/formula/token.hxx
index 2efba0db00d7..e3f6a2686ea9 100644
--- a/include/formula/token.hxx
+++ b/include/formula/token.hxx
@@ -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;
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index 655c68730f44..27c879ad90e2 100644
--- a/sc/inc/token.hxx
+++ b/sc/inc/token.hxx
@@ -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;
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index cb36699df668..dc1222e3506f 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -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
{