Blind fix for MSVC build
Change-Id: Ib5ed5a6bd598df660c3b865782e6a639e2c657ee
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index ea2b8ae..0d54a4b 100644
--- a/sc/inc/token.hxx
+++ b/sc/inc/token.hxx
@@ -276,6 +276,7 @@ protected:
public:
ScMatrixCellResultToken( const ScConstMatrixRef& pMat, formula::FormulaToken* pUL );
ScMatrixCellResultToken( const ScMatrixCellResultToken& r );
virtual ~ScMatrixCellResultToken();
virtual double GetDouble() const SAL_OVERRIDE;
virtual svl::SharedString GetString() const SAL_OVERRIDE;
virtual const ScMatrix* GetMatrix() const SAL_OVERRIDE;
@@ -302,6 +303,7 @@ public:
ScMatrixFormulaCellToken( SCCOL nC, SCROW nR, const ScConstMatrixRef& pMat, formula::FormulaToken* pUL );
ScMatrixFormulaCellToken( SCCOL nC, SCROW nR );
ScMatrixFormulaCellToken( const ScMatrixFormulaCellToken& r );
virtual ~ScMatrixFormulaCellToken();
virtual bool operator==( const formula::FormulaToken& rToken ) const SAL_OVERRIDE;
virtual FormulaToken* Clone() const SAL_OVERRIDE { return new ScMatrixFormulaCellToken(*this); }
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index a4f2473..ebfb8ca 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -857,6 +857,8 @@ ScMatrixCellResultToken::ScMatrixCellResultToken( const ScMatrixCellResultToken&
double ScMatrixCellResultToken::GetDouble() const { return xUpperLeft->GetDouble(); }
ScMatrixCellResultToken::~ScMatrixCellResultToken() {}
svl::SharedString ScMatrixCellResultToken::GetString() const
{
return xUpperLeft->GetString();
@@ -904,6 +906,8 @@ ScMatrixFormulaCellToken::ScMatrixFormulaCellToken( const ScMatrixFormulaCellTok
xUpperLeft = xUpperLeft->Clone();
}
ScMatrixFormulaCellToken::~ScMatrixFormulaCellToken() {}
bool ScMatrixFormulaCellToken::operator==( const FormulaToken& r ) const
{
const ScMatrixFormulaCellToken* p = dynamic_cast<const ScMatrixFormulaCellToken*>(&r);